Various fixes

This commit is contained in:
Ilya Laktyushin
2022-08-16 16:35:55 +03:00
parent 8f9f7185af
commit 06d97d2f4d
6 changed files with 117 additions and 21 deletions

View File

@@ -443,7 +443,8 @@ class ChatMessageGiftBubbleContentNode: ChatMessageBubbleContentNode {
self.animationNode.playOnce()
}
if !alreadySeen {
if !alreadySeen && self.animationNode.isPlaying {
item.controllerInteraction.playNextOutgoingGift = false
Queue.mainQueue().after(1.0) {
item.controllerInteraction.animateDiceSuccess(false, true)
}