fix: hide sent message on compact mode once sent

This commit is contained in:
Jonathan Rainville 2020-07-22 14:45:03 -04:00 committed by Iuri Matias
parent c7cfa5d32b
commit 42c09c9f3a
2 changed files with 3 additions and 2 deletions

View File

@ -106,9 +106,10 @@ Item {
SentMessage {
id: sentMessage
visible: isCurrentUser && !timeout && isMessage && outgoingStatus !== "sent"
anchors.verticalCenter: chatTime.verticalCenter
anchors.left: chatTime.right
anchors.rightMargin: 5
anchors.leftMargin: 8
}
Retry {

View File

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