Fixes #2314 - Tweak avatar animations to increase perceived load times

This commit is contained in:
Stefan Ceriu
2024-01-10 15:40:52 +02:00
parent cf7e09e22e
commit ada75ab339
4 changed files with 19 additions and 5 deletions
@@ -20,6 +20,7 @@ import Kingfisher
extension ImageCache {
static var onlyInMemory: ImageCache {
let result = ImageCache.default
result.memoryStorage.config.keepWhenEnteringBackground = true
result.diskStorage.config.sizeLimit = 1
return result
}