From c64424990d21e7ad29253fd59ad01b6cd3f8589a Mon Sep 17 00:00:00 2001 From: Pascal Precht Date: Tue, 6 Oct 2020 11:34:06 +0200 Subject: [PATCH] uiux(Chat): remove sent badge Closes #919 --- .../Chat/ChatColumn/MessageComponents/NormalMessage.qml | 1 + .../Chat/ChatColumn/MessageComponents/SentMessage.qml | 5 +---- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/ui/app/AppLayouts/Chat/ChatColumn/MessageComponents/NormalMessage.qml b/ui/app/AppLayouts/Chat/ChatColumn/MessageComponents/NormalMessage.qml index 2532e3e5bb..5b2b00483b 100644 --- a/ui/app/AppLayouts/Chat/ChatColumn/MessageComponents/NormalMessage.qml +++ b/ui/app/AppLayouts/Chat/ChatColumn/MessageComponents/NormalMessage.qml @@ -176,6 +176,7 @@ Item { SentMessage { id: sentMessage + visible: isCurrentUser && !timeout && isMessage && outgoingStatus !== "sent" anchors.top: chatTime.top anchors.bottomMargin: Style.current.padding anchors.right: chatTime.left diff --git a/ui/app/AppLayouts/Chat/ChatColumn/MessageComponents/SentMessage.qml b/ui/app/AppLayouts/Chat/ChatColumn/MessageComponents/SentMessage.qml index 184362f05e..0a82c3f6ba 100644 --- a/ui/app/AppLayouts/Chat/ChatColumn/MessageComponents/SentMessage.qml +++ b/ui/app/AppLayouts/Chat/ChatColumn/MessageComponents/SentMessage.qml @@ -6,10 +6,7 @@ StyledText { id: sentMessage visible: isCurrentUser && !timeout && !isExpired && isMessage color: Style.current.darkGrey - text: outgoingStatus === "sent" ? - //% "Sent" - qsTrId("status-sent") : //% "Sending..." - qsTrId("sending") + text: qsTrId("sending") font.pixelSize: 10 }