From 7f5db3249ebfc5a9d68df351d8593168793dd9b2 Mon Sep 17 00:00:00 2001 From: Jan Tennert Date: Sat, 21 Sep 2024 11:53:05 +0200 Subject: [PATCH] fix coil3 --- .../src/commonMain/kotlin/io/github/jan/einkaufszettel/App.kt | 2 +- gradle/libs.versions.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/composeApp/src/commonMain/kotlin/io/github/jan/einkaufszettel/App.kt b/composeApp/src/commonMain/kotlin/io/github/jan/einkaufszettel/App.kt index a943249..68070d9 100644 --- a/composeApp/src/commonMain/kotlin/io/github/jan/einkaufszettel/App.kt +++ b/composeApp/src/commonMain/kotlin/io/github/jan/einkaufszettel/App.kt @@ -18,7 +18,7 @@ import coil3.ImageLoader import coil3.PlatformContext import coil3.annotation.ExperimentalCoilApi import coil3.compose.setSingletonImageLoaderFactory -import coil3.network.ktor2.KtorNetworkFetcherFactory +import coil3.network.ktor3.KtorNetworkFetcherFactory import io.github.jan.einkaufszettel.root.data.local.db.DatabaseProvider import io.github.jan.einkaufszettel.root.data.local.image.LocalImageFetcher import io.github.jan.einkaufszettel.root.ui.component.LoadingCircle diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 4c0893b..afa7b99 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -67,7 +67,7 @@ okio = { module = "com.squareup.okio:okio", version.ref = "okio" } richeditor = { module = "com.mohamedrejeb.richeditor:richeditor-compose", version.ref = "richeditor" } filepicker = { module = "com.darkrockstudios:mpfilepicker", version.ref = "file-picker" } coil = { module = "io.coil-kt.coil3:coil-compose", version.ref = "coil" } -coil-ktor = { module = "io.coil-kt.coil3:coil-network-ktor2", version.ref = "coil" } +coil-ktor = { module = "io.coil-kt.coil3:coil-network-ktor3", version.ref = "coil" } zoomable = { module = "net.engawapg.lib:zoomable", version.ref = "zoomable" } semver = { module = "net.swiftzer.semver:semver", version.ref = "semver" } filekit = { module = "io.github.vinceglb:filekit-core", version.ref = "filekit" }