chore: Don't use memory cache when creating manga shortcut

This commit is contained in:
Ahmad Ansori Palembani 2024-08-25 08:49:09 +07:00
parent 857bccf433
commit 0c3e4a3c24
Signed by: null2264
GPG key ID: BA64F8B60AF3EFB6
2 changed files with 4 additions and 0 deletions

View file

@ -12,6 +12,8 @@
## Fixes
- Fixed crashes caused by certain extension implementation
- Fixed "Theme buttons based on cover" doesn't work properly
- Fixed library cover images looks blurry then become sharp after going to
entry's detail screen
## Other
- More StorIO to SQLDelight migration effort

View file

@ -10,6 +10,7 @@ import android.graphics.drawable.Icon
import co.touchlab.kermit.Logger
import coil3.asDrawable
import coil3.imageLoader
import coil3.request.CachePolicy
import coil3.request.ImageRequest
import coil3.size.SizeResolver
import eu.kanade.tachiyomi.R
@ -78,6 +79,7 @@ class MangaShortcutManager(
val request = ImageRequest.Builder(context)
.data(item.cover())
.size(SizeResolver.ORIGINAL)
.memoryCachePolicy(CachePolicy.DISABLED)
.build()
val bitmap = (
context.imageLoader