Fix reactions

This commit is contained in:
Ali
2021-11-19 19:50:04 +04:00
parent 41fbe0ef76
commit 7f142f0619
14 changed files with 14 additions and 62 deletions

View File

@@ -787,7 +787,7 @@ class ChatMessageDateAndStatusNode: ASDisplayNode {
}
}
node.frame = CGRect(origin: CGPoint(x: reactionOffset + 1.0, y: backgroundInsets.top + 1.0 + offset), size: layout.size)
reactionOffset += 1.0 + layout.size.width
reactionOffset += 1.0 + layout.size.width + 4.0
} else if let reactionCountNode = strongSelf.reactionCountNode {
strongSelf.reactionCountNode = nil
if animated {