This commit is contained in:
Ilya Laktyushin 2026-04-27 01:39:39 +02:00
parent c4e1049396
commit 12d5336af9

View file

@ -368,7 +368,7 @@ final class UndoOverlayControllerNode: ViewControllerTracingNode {
let bold = MarkdownAttributeSet(font: Font.semibold(14.0), textColor: .white)
let attributedText = parseMarkdownIntoAttributedString(text, attributes: MarkdownAttributes(body: body, bold: bold, link: body, linkAttribute: { _ in return nil }), textAlignment: .natural)
self.textNode.attributedText = attributedText
self.textNode.maximumNumberOfLines = 2
self.textNode.maximumNumberOfLines = 5
displayUndo = false
self.originalRemainingSeconds = 5
case let .importedMessage(text):