Don't overwrite active status of attachment row for voice notes, fixes #481
This commit is contained in:
parent
ebe0143a8a
commit
856a16c640
2 changed files with 1 additions and 2 deletions
|
@ -209,7 +209,6 @@ Item {
|
|||
attachmentOptionsFlickable.isNeeded = false;
|
||||
attachmentPreviewRow.isVoiceNote = true;
|
||||
attachmentPreviewRow.attachmentDescription = qsTr("Voice Note (%1)").arg(recordingDurationLabel.text);
|
||||
attachmentPreviewRow.visible = true;
|
||||
controlSendButton();
|
||||
voiceNoteOverlayLoader.active = false;
|
||||
}
|
||||
|
|
|
@ -1696,7 +1696,7 @@ Page {
|
|||
|
||||
Row {
|
||||
id: attachmentPreviewRow
|
||||
visible: (!!locationData || !!fileProperties) && !inlineQuery.userNameIsValid
|
||||
visible: (!!locationData || !!fileProperties || isVoiceNote) && !inlineQuery.userNameIsValid
|
||||
spacing: Theme.paddingMedium
|
||||
width: parent.width
|
||||
layoutDirection: Qt.RightToLeft
|
||||
|
|
Loading…
Reference in a new issue