Voice Chat Improvements

This commit is contained in:
Ilya Laktyushin
2021-03-04 21:11:41 +04:00
parent a0834f0068
commit f03c75cd14
12 changed files with 244 additions and 130 deletions

View File

@@ -42,7 +42,7 @@ private final class ReportPeerHeaderActionSheetItemNode: ActionSheetItemNode {
self.animationNode = AnimatedStickerNode()
if let path = getAppBundle().path(forResource: "Cop", ofType: "tgs") {
self.animationNode.setup(source: AnimatedStickerNodeLocalFileSource(path: path), width: 192, height: 192, playbackMode: .once, mode: .direct(cachePathPrefix: nil))
self.animationNode.setup(source: AnimatedStickerNodeLocalFileSource(path: path), width: 192, height: 192, playbackMode: .count(2), mode: .direct(cachePathPrefix: nil))
self.animationNode.visibility = true
}