disable disk cache instead of memory cache

This commit is contained in:
Bnyro 2022-11-17 17:28:07 +01:00
parent 7a19f00a99
commit 186962402d

View File

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