mirror of
https://github.com/null2264/yokai.git
synced 2025-06-21 10:44:42 +00:00
chore: Don't use memory cache when creating manga shortcut
This commit is contained in:
parent
857bccf433
commit
0c3e4a3c24
2 changed files with 4 additions and 0 deletions
|
@ -12,6 +12,8 @@
|
||||||
## Fixes
|
## Fixes
|
||||||
- Fixed crashes caused by certain extension implementation
|
- Fixed crashes caused by certain extension implementation
|
||||||
- Fixed "Theme buttons based on cover" doesn't work properly
|
- 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
|
## Other
|
||||||
- More StorIO to SQLDelight migration effort
|
- More StorIO to SQLDelight migration effort
|
||||||
|
|
|
@ -10,6 +10,7 @@ import android.graphics.drawable.Icon
|
||||||
import co.touchlab.kermit.Logger
|
import co.touchlab.kermit.Logger
|
||||||
import coil3.asDrawable
|
import coil3.asDrawable
|
||||||
import coil3.imageLoader
|
import coil3.imageLoader
|
||||||
|
import coil3.request.CachePolicy
|
||||||
import coil3.request.ImageRequest
|
import coil3.request.ImageRequest
|
||||||
import coil3.size.SizeResolver
|
import coil3.size.SizeResolver
|
||||||
import eu.kanade.tachiyomi.R
|
import eu.kanade.tachiyomi.R
|
||||||
|
@ -78,6 +79,7 @@ class MangaShortcutManager(
|
||||||
val request = ImageRequest.Builder(context)
|
val request = ImageRequest.Builder(context)
|
||||||
.data(item.cover())
|
.data(item.cover())
|
||||||
.size(SizeResolver.ORIGINAL)
|
.size(SizeResolver.ORIGINAL)
|
||||||
|
.memoryCachePolicy(CachePolicy.DISABLED)
|
||||||
.build()
|
.build()
|
||||||
val bitmap = (
|
val bitmap = (
|
||||||
context.imageLoader
|
context.imageLoader
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue