mirror of
https://github.com/libre-tube/LibreTube.git
synced 2024-12-14 14:20:30 +05:30
Use the cache for saving temp images
This commit is contained in:
parent
8cbb189bcf
commit
98a1c07d02
@ -38,7 +38,7 @@ object ImageHelper {
|
||||
}
|
||||
else -> diskCache(
|
||||
DiskCache.Builder()
|
||||
.directory(context.filesDir.resolve("coil"))
|
||||
.directory(context.cacheDir.resolve("coil"))
|
||||
.maxSizeBytes(maxImageCacheSize.toInt() * 1024 * 1024L)
|
||||
.build()
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user