diff --git a/Telegram/Telegram-iOS/en.lproj/Localizable.strings b/Telegram/Telegram-iOS/en.lproj/Localizable.strings index 95ed40b7c7..d9f1c9a506 100644 --- a/Telegram/Telegram-iOS/en.lproj/Localizable.strings +++ b/Telegram/Telegram-iOS/en.lproj/Localizable.strings @@ -9897,8 +9897,6 @@ Sorry for the inconvenience."; "Story.ViewList.ViewerCount_any" = "%d Viewers"; "AuthSessions.MessageApp" = "You allowed this bot to message you when you opened %@."; -"Notification.BotWriteAllowedMenu" = "You allowed this bot to message you when you added it to your attachment menu."; -"Notification.BotWriteAllowedRequest" = "You allowed this bot to message you in the app."; "Story.Privacy.PostStoryAs" = "Post Story As"; "Story.Privacy.PostStoryAsHeader" = "POST STORY AS"; diff --git a/submodules/TelegramUI/Components/TextFieldComponent/Sources/TextFieldComponent.swift b/submodules/TelegramUI/Components/TextFieldComponent/Sources/TextFieldComponent.swift index b07f313b0c..4bd16488ac 100644 --- a/submodules/TelegramUI/Components/TextFieldComponent/Sources/TextFieldComponent.swift +++ b/submodules/TelegramUI/Components/TextFieldComponent/Sources/TextFieldComponent.swift @@ -211,6 +211,7 @@ public final class TextFieldComponent: Component { self.characterLimit = characterLimit self.enableInlineAnimations = enableInlineAnimations self.emptyLineHandling = emptyLineHandling + self.externalHandlingForMultilinePaste = externalHandlingForMultilinePaste self.formatMenuAvailability = formatMenuAvailability self.returnKeyType = returnKeyType self.lockedFormatAction = lockedFormatAction @@ -272,6 +273,9 @@ public final class TextFieldComponent: Component { if lhs.emptyLineHandling != rhs.emptyLineHandling { return false } + if lhs.externalHandlingForMultilinePaste != rhs.externalHandlingForMultilinePaste { + return false + } if lhs.formatMenuAvailability != rhs.formatMenuAvailability { return false }