uiux(Chat): remove sent badge

Closes #919
This commit is contained in:
Pascal Precht 2020-10-06 11:34:06 +02:00 committed by Iuri Matias
parent e2bb81885f
commit c64424990d
2 changed files with 2 additions and 4 deletions

View File

@ -176,6 +176,7 @@ Item {
SentMessage { SentMessage {
id: sentMessage id: sentMessage
visible: isCurrentUser && !timeout && isMessage && outgoingStatus !== "sent"
anchors.top: chatTime.top anchors.top: chatTime.top
anchors.bottomMargin: Style.current.padding anchors.bottomMargin: Style.current.padding
anchors.right: chatTime.left anchors.right: chatTime.left

View File

@ -6,10 +6,7 @@ StyledText {
id: sentMessage id: sentMessage
visible: isCurrentUser && !timeout && !isExpired && isMessage visible: isCurrentUser && !timeout && !isExpired && isMessage
color: Style.current.darkGrey color: Style.current.darkGrey
text: outgoingStatus === "sent" ?
//% "Sent"
qsTrId("status-sent") :
//% "Sending..." //% "Sending..."
qsTrId("sending") text: qsTrId("sending")
font.pixelSize: 10 font.pixelSize: 10
} }