Fix build

This commit is contained in:
Ilya Laktyushin 2025-09-25 22:25:38 +04:00
parent ecfaa33807
commit 596e04468e

View File

@ -773,7 +773,7 @@ public final class MessageInputPanelComponent: Component {
return result return result
} }
private var sendMessageAction() { private func sendMessageAction() {
guard let component = self.component else { guard let component = self.component else {
return return
} }
@ -781,6 +781,7 @@ public final class MessageInputPanelComponent: Component {
self.animateError() self.animateError()
component.presentTextLengthLimitTooltip?() component.presentTextLengthLimitTooltip?()
} else { } else {
let baseFieldHeight: CGFloat = 40.0
var sendActionTransition: MessageInputPanelComponent.SendActionTransition? var sendActionTransition: MessageInputPanelComponent.SendActionTransition?
if let snapshotView = self.textClippingView.snapshotView(afterScreenUpdates: false), let backgroundView = self.fieldGlassBackgroundView { if let snapshotView = self.textClippingView.snapshotView(afterScreenUpdates: false), let backgroundView = self.fieldGlassBackgroundView {
sendActionTransition = MessageInputPanelComponent.SendActionTransition( sendActionTransition = MessageInputPanelComponent.SendActionTransition(