mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 22:55:00 +00:00
no message
This commit is contained in:
@@ -316,7 +316,7 @@ class ChatMessageBubbleItemNode: ChatMessageItemView {
|
||||
attributedString = NSAttributedString(string: "", font: nameFont, textColor: UIColor.black)
|
||||
}
|
||||
|
||||
let sizeAndApply = authorNameLayout(attributedString, nil, 1, .end, CGSize(width: maximumNodeWidth, height: CGFloat.greatestFiniteMagnitude), nil)
|
||||
let sizeAndApply = authorNameLayout(attributedString, nil, 1, .end, CGSize(width: maximumNodeWidth, height: CGFloat.greatestFiniteMagnitude), .natural, nil)
|
||||
nameNodeSizeApply = (sizeAndApply.0.size, {
|
||||
return sizeAndApply.1()
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user