Varios fixes

This commit is contained in:
Ilya Laktyushin
2024-01-17 17:43:04 +04:00
parent 3dc5f6b48a
commit 346790b650
4 changed files with 40 additions and 36 deletions

View File

@@ -327,7 +327,7 @@ public class ChatMessageContactBubbleContentNode: ChatMessageBubbleContentNode {
let lineWidth: CGFloat = 3.0
var buttonCount = 1
if canMessage {
if canMessage && canAdd {
buttonCount += 1
}
var buttonWidth = floor((boundingWidth - layoutConstants.text.bubbleInsets.right * 2.0 - lineWidth))