Fix build

This commit is contained in:
Ilya Laktyushin 2025-06-25 16:30:24 +02:00
parent 98c3b67f96
commit 9a43e49289
2 changed files with 4 additions and 2 deletions

View File

@ -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";

View File

@ -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
}