Various Fixes

This commit is contained in:
Ilya Laktyushin
2022-01-28 20:34:05 +03:00
parent 1227731b4f
commit b618777883
4 changed files with 19 additions and 16 deletions

View File

@@ -424,7 +424,7 @@ final class UndoOverlayControllerNode: ViewControllerTracingNode {
case let .animated(resource, isVideo):
let animatedStickerNode = AnimatedStickerNode()
self.animatedStickerNode = animatedStickerNode
animatedStickerNode.setup(source: AnimatedStickerResourceSource(account: context.account, resource: resource._asResource(), isVideo: isVideo), width: 80, height: 80, mode: .cached)
animatedStickerNode.setup(source: AnimatedStickerResourceSource(account: context.account, resource: resource._asResource(), isVideo: isVideo), width: 80, height: 80, mode: .direct(cachePathPrefix: nil))
}
}
case let .dice(dice, context, text, action):