mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-06-16 05:55:20 +00:00
Don't cache ManagedAnimationNode lottie animations
This commit is contained in:
parent
008b2c4d3e
commit
014ee47a95
@ -46,7 +46,7 @@ public final class ManagedAnimationState {
|
||||
} else if let unpackedData = TGGUnzipData(data, 5 * 1024 * 1024) {
|
||||
data = unpackedData
|
||||
}
|
||||
guard let instance = LottieInstance(data: data, fitzModifier: .none, colorReplacements: item.replaceColors, cacheKey: item.source.cacheKey) else {
|
||||
guard let instance = LottieInstance(data: data, fitzModifier: .none, colorReplacements: item.replaceColors, cacheKey: "") else {
|
||||
return nil
|
||||
}
|
||||
resolvedInstance = instance
|
||||
|
Loading…
x
Reference in New Issue
Block a user