Merge pull request #1885 from Bnyro/fix

disable disk cache instead of memory cache
This commit is contained in:
Bnyro 2022-11-17 17:29:00 +01:00 committed by GitHub
commit 9c39bb8307
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -34,7 +34,7 @@ object ImageHelper {
.apply {
when (maxImageCacheSize) {
"" -> {
memoryCachePolicy(CachePolicy.DISABLED)
diskCachePolicy(CachePolicy.DISABLED)
}
else -> diskCache(
DiskCache.Builder()