mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 14:20:20 +00:00
Reaction fixes
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user