mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-07-31 07:30:40 +00:00
Fix build
This commit is contained in:
parent
3459e36df8
commit
c677bba7c9
@ -273,7 +273,7 @@ private extension CGSize {
|
||||
|
||||
private func convertLottieImage(data: Data) -> UIImage? {
|
||||
let decompressedData = TGGUnzipData(data, 512 * 1024) ?? data
|
||||
guard let animation = LottieInstance(data: decompressedData, cacheKey: "") else {
|
||||
guard let animation = LottieInstance(data: decompressedData, fitzModifier: .none, cacheKey: "") else {
|
||||
return nil
|
||||
}
|
||||
let size = animation.dimensions.fitted(CGSize(width: 200.0, height: 200.0))
|
||||
|
Loading…
x
Reference in New Issue
Block a user