This commit is contained in:
Ali
2023-06-27 23:41:17 +03:00
parent d0ad8d4773
commit 1e56d1b8ff
23 changed files with 893 additions and 570 deletions

View File

@@ -551,11 +551,7 @@ public final class MessageInputPanelComponent: Component {
if component.attachmentAction != nil {
let attachmentButtonMode: MessageInputActionButtonComponent.Mode
if !self.textFieldExternalState.isEditing && component.moreAction != nil {
attachmentButtonMode = .more
} else {
attachmentButtonMode = .attach
}
attachmentButtonMode = .attach
let attachmentButtonSize = self.attachmentButton.update(
transition: transition,