mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-03 06:55:59 +00:00
Fixes #2314 - Tweak avatar animations to increase perceived load times
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user