diff --git a/android/app/src/main/java/io/github/reactivecircus/kstreamlined/android/di/AppModule.kt b/android/app/src/main/java/io/github/reactivecircus/kstreamlined/android/di/AppModule.kt index 650ff294..e4050419 100644 --- a/android/app/src/main/java/io/github/reactivecircus/kstreamlined/android/di/AppModule.kt +++ b/android/app/src/main/java/io/github/reactivecircus/kstreamlined/android/di/AppModule.kt @@ -3,9 +3,6 @@ package io.github.reactivecircus.kstreamlined.android.di import android.content.Context import android.os.Build import coil3.ImageLoader -import coil3.annotation.ExperimentalCoilApi -import coil3.decode.SvgDecoder -import coil3.fetch.NetworkFetcher import coil3.request.allowHardware import coil3.request.crossfade import dagger.Module @@ -23,11 +20,6 @@ object AppModule { @Singleton fun imageLoader(@ApplicationContext context: Context): ImageLoader { return ImageLoader.Builder(context) - .components { - @OptIn(ExperimentalCoilApi::class) - add(NetworkFetcher.Factory()) - add(SvgDecoder.Factory()) - } .crossfade(enable = true) // only enable hardware bitmaps on API 28+. See: https://github.com/coil-kt/coil/issues/159 .allowHardware(enable = Build.VERSION.SDK_INT >= Build.VERSION_CODES.P) diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index f35cbc43..41a68c02 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -37,7 +37,7 @@ androidx-media3 = "1.2.0" androidx-profileinstaller = "1.3.1" androidx-benchmark = "1.2.2" androidx-metrics = "1.0.0-alpha04" -coil = "3.0.0-alpha01" +coil = "3.0.0-alpha02" ktor = "2.3.7" kermit = "2.0.2" sqldelight = "2.0.1"