mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-12 01:10:49 +00:00
UndoOverlayControllerNode: change fonts
This commit is contained in:
parent
170d5b5124
commit
f5c9145b0e
@ -64,7 +64,7 @@ final class UndoOverlayControllerNode: ViewControllerTracingNode {
|
|||||||
self.iconNode?.image = UIImage(bundleImageName: "Chat List/UndoInfoIcon")
|
self.iconNode?.image = UIImage(bundleImageName: "Chat List/UndoInfoIcon")
|
||||||
}
|
}
|
||||||
self.titleNode.attributedText = NSAttributedString(string: title, font: Font.semibold(14.0), textColor: .white)
|
self.titleNode.attributedText = NSAttributedString(string: title, font: Font.semibold(14.0), textColor: .white)
|
||||||
self.textNode.attributedText = NSAttributedString(string: text, font: title.isEmpty ? Font.medium(17.0) : Font.regular(14.0), textColor: .white)
|
self.textNode.attributedText = NSAttributedString(string: text, font: title.isEmpty ? Font.semibold(14.0) : Font.regular(14.0), textColor: .white)
|
||||||
displayUndo = undo
|
displayUndo = undo
|
||||||
self.originalRemainingSeconds = 5
|
self.originalRemainingSeconds = 5
|
||||||
case let .hidArchive(title, text):
|
case let .hidArchive(title, text):
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user