mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 14:20:20 +00:00
Stories
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user