diff --git a/Linphone/view/Page/Form/Chat/SelectedChatView.qml b/Linphone/view/Page/Form/Chat/SelectedChatView.qml index a01f153b4..4d12c73a3 100644 --- a/Linphone/view/Page/Form/Chat/SelectedChatView.qml +++ b/Linphone/view/Page/Form/Chat/SelectedChatView.qml @@ -220,9 +220,8 @@ RowLayout { } ChatDroppableTextArea { id: messageSender - visible: !mainItem.chat.core.isReadOnly Layout.fillWidth: true - Layout.preferredHeight: height + Layout.preferredHeight: mainItem.chat.core.isReadOnly ? 0 : height Component.onCompleted: { if (mainItem.chat) text = mainItem.chat.core.sendingText }