Fixes #3249 - Converge on the same max height for both text composers.

This commit is contained in:
Stefan Ceriu
2024-09-10 18:14:07 +03:00
committed by Stefan Ceriu
parent 163e935f65
commit 30b0ac9636

View File

@@ -79,7 +79,7 @@ struct MessageComposer: View {
MessageComposerTextField(placeholder: L10n.richTextEditorComposerPlaceholder,
text: $plainComposerText,
presendCallback: $presendCallback,
maxHeight: 300,
maxHeight: ComposerConstant.maxHeight,
keyHandler: { handleKeyPress($0) },
pasteHandler: pasteAction)
.tint(.compound.iconAccentTertiary)