Video Chat Improvements

This commit is contained in:
Ilya Laktyushin
2021-04-27 20:20:24 +04:00
parent 91b81eadff
commit 3fd2b28b45
4 changed files with 151 additions and 77 deletions

View File

@@ -265,6 +265,7 @@ class ChatMessageAnimatedStickerItemNode: ChatMessageItemView {
if strongSelf.enableSynchronousImageApply {
strongSelf.removePlaceholder(animated: false)
} else {
strongSelf.imageNode.alpha = 0.0
strongSelf.animationNode?.layer.animateAlpha(from: 0.0, to: 1.0, duration: 0.2)
strongSelf.removePlaceholder(animated: true)
}