Android: Allow Coil image cache to use more memory
Allows the Coil memory cache to use up to 90% of the application's available memory. Previously this could cause problems with reloading images in very large libraries of games.
This commit is contained in:
parent
78d22d8003
commit
42a4630245
|
@ -73,7 +73,7 @@ object CoilUtils {
|
||||||
}
|
}
|
||||||
.memoryCache {
|
.memoryCache {
|
||||||
MemoryCache.Builder(DolphinApplication.getAppContext())
|
MemoryCache.Builder(DolphinApplication.getAppContext())
|
||||||
.maxSizePercent(0.25)
|
.maxSizePercent(0.9)
|
||||||
.build()
|
.build()
|
||||||
}
|
}
|
||||||
.build()
|
.build()
|
||||||
|
|
Loading…
Reference in New Issue