fix(act-denter): hide reply badge if replied to message is unavailable

This commit is contained in:
Jonathan Rainville 2021-06-10 15:13:46 -04:00
parent b1bcd539a2
commit 0f5d889a0d
1 changed files with 4 additions and 0 deletions

View File

@ -49,6 +49,10 @@ Rectangle {
property string repliedMessageContent: replyMessageIndex > -1 ? chatsModel.getMessageData(chatId, replyMessageIndex, "message") : "";
onReplyMessageIndexChanged: {
wrapper.visible = replyMessageIndex > -1
}
width: childrenRect.width
height: parent.height
SVGImage {