Reaction fixes

This commit is contained in:
Ali
2021-12-09 00:48:04 +04:00
parent 30ef98d073
commit e09f470f3e
6 changed files with 54 additions and 21 deletions

View File

@@ -222,6 +222,8 @@ class ChatMessageDateAndStatusNode: ASDisplayNode {
self.dateNode = TextNode()
self.dateNode.isUserInteractionEnabled = false
self.dateNode.displaysAsynchronously = false
self.dateNode.contentsScale = UIScreenScale
self.dateNode.contentMode = .topLeft
super.init()
@@ -907,9 +909,11 @@ class ChatMessageDateAndStatusNode: ASDisplayNode {
if checkSentNode.isHidden {
animateSentNode = animation.isAnimated
checkSentNode.isHidden = false
checkSentNode.frame = actualCheckSentFrame
} else {
animation.animator.updateFrame(layer: checkSentNode.layer, frame: actualCheckSentFrame, completion: nil)
}
checkSentNode.isHidden = false
animation.animator.updateFrame(layer: checkSentNode.layer, frame: actualCheckSentFrame, completion: nil)
} else {
checkSentNode.isHidden = true
}