Migrate to Coil 2.x

This commit is contained in:
MM20
2022-07-31 22:42:49 +02:00
parent c423aa2fff
commit 6b33d4fcd7
7 changed files with 23 additions and 31 deletions
@@ -80,8 +80,8 @@ class LauncherApplication : Application(), CoroutineScope, ImageLoaderFactory {
override fun newImageLoader(): ImageLoader {
return ImageLoader.Builder(applicationContext)
.componentRegistry {
add(SvgDecoder(applicationContext))
.components {
add(SvgDecoder.Factory())
}
.crossfade(true)
.crossfade(200)