diff --git a/qml/components/AudioPreview.qml b/qml/components/AudioPreview.qml index e37c8ac..b8a7d17 100644 --- a/qml/components/AudioPreview.qml +++ b/qml/components/AudioPreview.qml @@ -444,7 +444,7 @@ Item { anchors.horizontalCenter: parent.horizontalCenter anchors.bottom: positionText.top minimumValue: 0 - maximumValue: messageAudio.duration ? messageAudio.duration : 0 + maximumValue: messageAudio.duration ? messageAudio.duration : 0.1 stepSize: 1 value: messageAudio.position enabled: messageAudio.seekable diff --git a/qml/components/VideoPreview.qml b/qml/components/VideoPreview.qml index 8015d71..a17fae1 100644 --- a/qml/components/VideoPreview.qml +++ b/qml/components/VideoPreview.qml @@ -482,7 +482,7 @@ Item { anchors.horizontalCenter: parent.horizontalCenter anchors.bottom: positionText.top minimumValue: 0 - maximumValue: messageVideo.duration ? messageVideo.duration : 0 + maximumValue: messageVideo.duration ? messageVideo.duration : 0.1 highlighted: videoMessageComponent.highlighted || down stepSize: 1 diff --git a/qml/pages/ChatPage.qml b/qml/pages/ChatPage.qml index 38c4081..f8ca80d 100644 --- a/qml/pages/ChatPage.qml +++ b/qml/pages/ChatPage.qml @@ -459,7 +459,7 @@ Page { Debug.log("[ChatPage] Received pinned message"); pinnedMessageItem.pinnedMessage = message; } - if (messageId === chatInformation.draft_message.reply_to_message_id) { + if (chatInformation.draft_message && messageId === chatInformation.draft_message.reply_to_message_id) { newMessageInReplyToRow.inReplyToMessage = message; } } diff --git a/translations/harbour-fernschreiber-es.ts b/translations/harbour-fernschreiber-es.ts index a1fa860..6a68cfb 100644 --- a/translations/harbour-fernschreiber-es.ts +++ b/translations/harbour-fernschreiber-es.ts @@ -1279,13 +1279,13 @@ %1 members - + %1 miembros %1 subscribers - + %1 suscriptores @@ -1378,11 +1378,11 @@ Focus text input area after send - + Enfocar el área de entrada de texto después de enviar Focus the text input area after sending a message - + Enfocar el área de entrada de texto después de enviar un mensaje