mirror of
https://github.com/status-im/status-desktop.git
synced 2025-02-08 20:56:39 +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 {
|
SentMessage {
|
||||||
id: sentMessage
|
id: sentMessage
|
||||||
visible: isCurrentUser && !timeout && isMessage && outgoingStatus !== "sent"
|
visible: isCurrentUser && !timeout && !isExpired && isMessage && outgoingStatus !== "sent"
|
||||||
anchors.verticalCenter: chatTime.verticalCenter
|
anchors.verticalCenter: chatTime.verticalCenter
|
||||||
anchors.left: chatTime.right
|
anchors.left: chatTime.right
|
||||||
anchors.leftMargin: 8
|
anchors.leftMargin: 8
|
||||||
|
@ -180,7 +180,7 @@ Item {
|
|||||||
|
|
||||||
SentMessage {
|
SentMessage {
|
||||||
id: sentMessage
|
id: sentMessage
|
||||||
visible: isCurrentUser && !timeout && isMessage && outgoingStatus !== "sent"
|
visible: isCurrentUser && !timeout && !isExpired && 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
|
||||||
|
@ -4,7 +4,6 @@ import "../../../../../imports"
|
|||||||
|
|
||||||
StyledText {
|
StyledText {
|
||||||
id: sentMessage
|
id: sentMessage
|
||||||
visible: isCurrentUser && !timeout && !isExpired && isMessage
|
|
||||||
color: Style.current.darkGrey
|
color: Style.current.darkGrey
|
||||||
//% "Sending..."
|
//% "Sending..."
|
||||||
text: qsTrId("sending")
|
text: qsTrId("sending")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user