Various fixes

This commit is contained in:
Ilya Laktyushin
2025-11-14 01:30:23 +04:00
parent 87035b30ea
commit 4c89870f2d
2 changed files with 7 additions and 5 deletions

View File

@@ -152,8 +152,10 @@ final class AttachmentTextInputActionButtonsNode: ASDisplayNode, ChatSendMessage
}
titleOffset -= 2.0
buttonInset = 14.0
self.iconNode.isHidden = true
} else {
segments.append(.text(0, NSAttributedString(string: text, font: Font.semibold(17.0), textColor: interfaceState.theme.chat.inputPanel.actionControlForegroundColor)))
self.iconNode.isHidden = false
}
self.textNode.segments = segments