mirror of
https://github.com/status-im/status-desktop.git
synced 2025-01-22 20:40:18 +00:00
fix: ensure sending
message state isn't shown when message is expired
This commit is contained in:
parent
cecaa292ba
commit
4ac8400038
@ -114,7 +114,7 @@ Item {
|
||||
|
||||
SentMessage {
|
||||
id: sentMessage
|
||||
visible: isCurrentUser && !timeout && isMessage && outgoingStatus !== "sent"
|
||||
visible: isCurrentUser && !timeout && !isExpired && isMessage && outgoingStatus !== "sent"
|
||||
anchors.verticalCenter: chatTime.verticalCenter
|
||||
anchors.left: chatTime.right
|
||||
anchors.leftMargin: 8
|
||||
|
@ -180,7 +180,7 @@ Item {
|
||||
|
||||
SentMessage {
|
||||
id: sentMessage
|
||||
visible: isCurrentUser && !timeout && isMessage && outgoingStatus !== "sent"
|
||||
visible: isCurrentUser && !timeout && !isExpired && isMessage && outgoingStatus !== "sent"
|
||||
anchors.top: chatTime.top
|
||||
anchors.bottomMargin: Style.current.padding
|
||||
anchors.right: chatTime.left
|
||||
|
@ -4,7 +4,6 @@ import "../../../../../imports"
|
||||
|
||||
StyledText {
|
||||
id: sentMessage
|
||||
visible: isCurrentUser && !timeout && !isExpired && isMessage
|
||||
color: Style.current.darkGrey
|
||||
//% "Sending..."
|
||||
text: qsTrId("sending")
|
||||
|
Loading…
x
Reference in New Issue
Block a user