mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-24 07:05:35 +00:00
Varios fixes
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user