mirror of
https://github.com/libre-tube/LibreTube.git
synced 2024-12-13 22:00:30 +05:30
Merge pull request #1885 from Bnyro/fix
disable disk cache instead of memory cache
This commit is contained in:
commit
9c39bb8307
@ -34,7 +34,7 @@ object ImageHelper {
|
||||
.apply {
|
||||
when (maxImageCacheSize) {
|
||||
"" -> {
|
||||
memoryCachePolicy(CachePolicy.DISABLED)
|
||||
diskCachePolicy(CachePolicy.DISABLED)
|
||||
}
|
||||
else -> diskCache(
|
||||
DiskCache.Builder()
|
||||
|
Loading…
Reference in New Issue
Block a user