mirror of
https://github.com/libre-tube/LibreTube.git
synced 2024-12-14 14:20: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 {
|
.apply {
|
||||||
when (maxImageCacheSize) {
|
when (maxImageCacheSize) {
|
||||||
"" -> {
|
"" -> {
|
||||||
memoryCachePolicy(CachePolicy.DISABLED)
|
diskCachePolicy(CachePolicy.DISABLED)
|
||||||
}
|
}
|
||||||
else -> diskCache(
|
else -> diskCache(
|
||||||
DiskCache.Builder()
|
DiskCache.Builder()
|
||||||
|
Loading…
Reference in New Issue
Block a user