Follow coil 3 API changes (#570)
* Follow coil 3 API changes * Use coil 3.0.0-alpha01
This commit is contained in:
1 parent
da2610657c
commit
28afebefb1
3 files changed
+3
-3
No files matched your search
@@ -18,6 +18,7 @@ package com.hippo.ehviewer
|
||||
|
||||
import android.app.Application
|
||||
import android.content.ComponentCallbacks2
|
||||
import android.content.Context
|
||||
import android.os.StrictMode
|
||||
import android.util.Log
|
||||
import androidx.appcompat.app.AppCompatDelegate
|
||||
@@ -180,7 +181,7 @@ class EhApplication : Application(), SingletonImageLoader.Factory {
|
||||
}
|
||||
}
|
||||
|
||||
override fun newImageLoader() = imageLoader {
|
||||
override fun newImageLoader(context: Context) = context.imageLoader {
|
||||
components {
|
||||
add(NetworkFetcher.Factory(unsafeLazy { ktorClient }))
|
||||
if (isAtLeastP) {
|
||||
|
||||
@@ -16,7 +16,7 @@ androidx-recyclerview = "1.3.2"
|
||||
androidx-room = "2.6.1"
|
||||
androidx-work = "2.9.0"
|
||||
arrow = "1.2.1"
|
||||
coil = "3.0.0-SNAPSHOT"
|
||||
coil = "3.0.0-alpha01"
|
||||
compose-bom = "2023.12.00-alpha04"
|
||||
compose-compiler = "1.5.6-dev-k2.0.0-Beta1-06a03be2b42"
|
||||
compose-destinations = "1.9.56"
|
||||
|
||||
@@ -12,7 +12,6 @@ dependencyResolutionManagement {
|
||||
repositories {
|
||||
google()
|
||||
mavenCentral()
|
||||
maven("https://oss.sonatype.org/content/repositories/snapshots")
|
||||
maven("https://jitpack.io")
|
||||
maven("https://androidx.dev/storage/compose-compiler/repository/")
|
||||
maven("https://androidx.dev/snapshots/builds/11260879/artifacts/repository")
|
||||
|
||||
Reference in new issue
Block a user