Show send message button also if attachments are there, fixes #143
This commit is contained in:
parent
7dfe7ddc3e
commit
e15c171640
1 changed files with 2 additions and 2 deletions
|
@ -1479,7 +1479,7 @@ Page {
|
|||
|
||||
TextArea {
|
||||
id: newMessageTextField
|
||||
width: parent.width - attachmentIconButton.width - (appSettings.sendByEnter ? 0: newMessageSendButton.width)
|
||||
width: parent.width - attachmentIconButton.width - (newMessageSendButton.visible ? newMessageSendButton.width : 0)
|
||||
height: Math.min(chatContainer.height / 3, implicitHeight)
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
font.pixelSize: Theme.fontSizeSmall
|
||||
|
@ -1525,7 +1525,7 @@ Page {
|
|||
icon.source: "image://theme/icon-m-chat"
|
||||
anchors.bottom: parent.bottom
|
||||
anchors.bottomMargin: Theme.paddingSmall
|
||||
visible: !appSettings.sendByEnter
|
||||
visible: !appSettings.sendByEnter || attachmentPreviewRow.visible
|
||||
enabled: false
|
||||
onClicked: {
|
||||
sendMessage();
|
||||
|
|
Loading…
Reference in a new issue