fix(act-denter): hide reply badge if replied to message is unavailable
This commit is contained in:
parent
b1bcd539a2
commit
0f5d889a0d
|
@ -49,6 +49,10 @@ Rectangle {
|
||||||
property string repliedMessageContent: replyMessageIndex > -1 ? chatsModel.getMessageData(chatId, replyMessageIndex, "message") : "";
|
property string repliedMessageContent: replyMessageIndex > -1 ? chatsModel.getMessageData(chatId, replyMessageIndex, "message") : "";
|
||||||
|
|
||||||
|
|
||||||
|
onReplyMessageIndexChanged: {
|
||||||
|
wrapper.visible = replyMessageIndex > -1
|
||||||
|
}
|
||||||
|
|
||||||
width: childrenRect.width
|
width: childrenRect.width
|
||||||
height: parent.height
|
height: parent.height
|
||||||
SVGImage {
|
SVGImage {
|
||||||
|
|
Loading…
Reference in New Issue