Fix trending packs animation playback

This commit is contained in:
Ilya Laktyushin 2021-08-08 01:22:33 +03:00
parent 98aab78371
commit b1e50b3f27

View File

@ -291,7 +291,7 @@ private final class FeaturedPackItemNode: ListViewItemNode {
} else {
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
}