Skip to content

Commit

Permalink
Update coil
Browse files Browse the repository at this point in the history
  • Loading branch information
jan-tennert committed Nov 8, 2023
1 parent a2ce088 commit e279537
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ browser = "1.6.0"
googleid = "1.1.0"
compose = "1.5.10"
androidsvg = "1.4"
coil = "2.4.0"
coil = "2.5.0"
imageloader = "1.7.0"
okio = "3.6.0"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package io.github.jan.supabase.coil

import coil.ImageLoader
import coil.fetch.Fetcher
import coil.request.ImageRequest
import coil.request.Options
import io.github.jan.supabase.SupabaseClient
import io.github.jan.supabase.annotations.SupabaseExperimental
Expand All @@ -11,7 +12,7 @@ import io.github.jan.supabase.storage.StorageItem
import io.github.jan.supabase.storage.storage

/**
* A plugin that integrates Coil with supabase-kt.
* A plugin that implements [Fetcher.Factory] to support using [StorageItem] as data when creating a [ImageRequest] or using it as a model in Jetpack Compose.
*/
interface CoilIntegration: SupabasePlugin, Fetcher.Factory<StorageItem> {

Expand Down

0 comments on commit e279537

Please sign in to comment.