mirror of
https://github.com/status-im/status-desktop.git
synced 2025-02-20 18:48:47 +00:00
fix: missing expired/timeout attributes in Resend button
This commit is contained in:
parent
0597fab1ac
commit
c06c9dbc6d
@ -21,6 +21,8 @@ Item {
|
||||
property int contentType: 2
|
||||
property var container
|
||||
property bool isCurrentUser: false
|
||||
property bool isExpired: false
|
||||
property bool timeout: false
|
||||
property bool isHovered: typeof root.messageStore.hoveredMessage !== "undefined" && root.messageStore.hoveredMessage === messageId
|
||||
property bool isMessageActive: typeof root.messageStore.activeMessage !== "undefined" && root.messageStore.activeMessage === messageId
|
||||
property bool headerRepeatCondition: (authorCurrentMsg !== authorPrevMsg || shouldRepeatHeader || dateGroupLbl.visible || chatReply.active)
|
||||
@ -596,6 +598,8 @@ Item {
|
||||
anchors.topMargin: chatTime.visible ? 0 : -4
|
||||
anchors.bottom: chatTime.visible ? chatTime.bottom : undefined
|
||||
isCurrentUser: root.isCurrentUser
|
||||
isExpired: root.isExpired
|
||||
timeout: root.timeout
|
||||
onClicked: {
|
||||
root.store.chatsModelInst.messageView.resendMessage(chatId, messageId)
|
||||
}
|
||||
|
@ -319,6 +319,8 @@ Column {
|
||||
NormalMessageView {
|
||||
linkUrls: root.linkUrls
|
||||
isCurrentUser: root.isCurrentUser
|
||||
isExpired: root.isExpired
|
||||
timeout: root.timeout
|
||||
contentType: root.contentType
|
||||
container: root
|
||||
store: root.rootStore
|
||||
@ -359,6 +361,8 @@ Column {
|
||||
CompactMessageView {
|
||||
linkUrls: root.linkUrls
|
||||
isCurrentUser: root.isCurrentUser
|
||||
isExpired: root.isExpired
|
||||
timeout: root.timeout
|
||||
contentType: root.contentType
|
||||
showEdit: root.showEdit
|
||||
container: root
|
||||
|
@ -19,6 +19,8 @@ Item {
|
||||
property var messageStore
|
||||
property string linkUrls: ""
|
||||
property bool isCurrentUser: false
|
||||
property bool isExpired: false
|
||||
property bool timeout: false
|
||||
property int contentType: 2
|
||||
property var container
|
||||
property bool headerRepeatCondition: (authorCurrentMsg !== authorPrevMsg
|
||||
@ -335,6 +337,8 @@ Item {
|
||||
anchors.right: chatTime.left
|
||||
anchors.rightMargin: 5
|
||||
isCurrentUser: root.isCurrentUser
|
||||
isExpired: root.isExpired
|
||||
timeout: root.timeout
|
||||
onClicked: {
|
||||
root.store.chatsModelInst.messageView.resendMessage(chatId, messageId)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user