mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2026-01-26 22:11:27 +00:00
Set didSetUpAnimationNode after setup
This commit is contained in:
@@ -302,6 +302,7 @@ final class ChatMediaInputStickerGridItemNode: GridItemNode {
|
||||
self.isPlaying = isPlaying
|
||||
self.animationNode?.visibility = isPlaying
|
||||
if let item = self.item, isPlaying, !self.didSetUpAnimationNode {
|
||||
self.didSetUpAnimationNode = true
|
||||
self.animationNode?.setup(account: item.account, resource: item.stickerItem.file.resource, width: 160, height: 160, mode: .cached)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user