mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-07-19 09:41:29 +00:00
Add toast text insets
This commit is contained in:
parent
2f99bea37a
commit
5536cad24e
@ -31,6 +31,7 @@ final class ChatToastAlertPanelNode: ChatTitleAccessoryPanelNode {
|
||||
self.titleNode = ImmediateTextNode()
|
||||
self.titleNode.attributedText = NSAttributedString(string: "", font: Font.regular(14.0), textColor: UIColor.black)
|
||||
self.titleNode.maximumNumberOfLines = 1
|
||||
self.titleNode.insets = UIEdgeInsets(top: 2.0, left: 2.0, bottom: 2.0, right: 2.0)
|
||||
|
||||
super.init()
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user