mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-08-08 08:31:13 +00:00
Fix trending packs animation playback
This commit is contained in:
parent
98aab78371
commit
b1e50b3f27
@ -291,7 +291,7 @@ private final class FeaturedPackItemNode: ListViewItemNode {
|
|||||||
} else {
|
} else {
|
||||||
self.containerNode.addSubnode(animatedStickerNode)
|
self.containerNode.addSubnode(animatedStickerNode)
|
||||||
}
|
}
|
||||||
animatedStickerNode.setup(source: AnimatedStickerResourceSource(account: account, resource: resource), width: 80, height: 80, mode: .cached)
|
animatedStickerNode.setup(source: AnimatedStickerResourceSource(account: account, resource: resource), width: 80, height: 80, mode: .direct(cachePathPrefix: nil))
|
||||||
}
|
}
|
||||||
animatedStickerNode.visibility = self.visibilityStatus && loopAnimatedStickers
|
animatedStickerNode.visibility = self.visibilityStatus && loopAnimatedStickers
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user