diff --git a/qml/components/VoiceNoteOverlay.qml b/qml/components/VoiceNoteOverlay.qml index cbec5a9..54ae4c2 100644 --- a/qml/components/VoiceNoteOverlay.qml +++ b/qml/components/VoiceNoteOverlay.qml @@ -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; } diff --git a/qml/pages/ChatPage.qml b/qml/pages/ChatPage.qml index a4af816..05df3a7 100644 --- a/qml/pages/ChatPage.qml +++ b/qml/pages/ChatPage.qml @@ -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