mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 14:45:21 +00:00
no message
This commit is contained in:
@@ -62,7 +62,7 @@ private final class ChatMessageActionButtonNode: ASDisplayNode {
|
||||
return { button, constrainedWidth, position in
|
||||
let sideInset: CGFloat = 8.0
|
||||
let minimumSideInset: CGFloat = 4.0
|
||||
let (titleSize, titleApply) = titleLayout(NSAttributedString(string: button.title, font: titleFont, textColor: .white), nil, 1, .end, CGSize(width: max(1.0, constrainedWidth - minimumSideInset - minimumSideInset), height: CGFloat.greatestFiniteMagnitude), nil)
|
||||
let (titleSize, titleApply) = titleLayout(NSAttributedString(string: button.title, font: titleFont, textColor: .white), nil, 1, .end, CGSize(width: max(1.0, constrainedWidth - minimumSideInset - minimumSideInset), height: CGFloat.greatestFiniteMagnitude), .natural, nil)
|
||||
|
||||
let backgroundImage: UIImage
|
||||
switch position {
|
||||
|
||||
Reference in New Issue
Block a user