fix(desktop/chatInput) sticker was not shown in reply area

Closes #4023
This commit is contained in:
Alexandra Betouni 2021-11-09 18:46:18 +02:00 committed by Iuri Matias
parent f913dce44a
commit b9fcbcf5d3
2 changed files with 4 additions and 2 deletions

View File

@ -554,7 +554,7 @@ Rectangle {
replyArea.identicon = identicon
replyArea.contentType = contentType
replyArea.image = image
replyArea.sticker = sticker
replyArea.stickerData = sticker
messageInputField.forceActiveFocus();
}
@ -848,6 +848,7 @@ Rectangle {
anchors.rightMargin: 2
anchors.top: parent.top
anchors.topMargin: 2
stickerData: sticker
onCloseButtonClicked: {
isReply = false
}

View File

@ -20,7 +20,7 @@ Rectangle {
property string message : ""
property string identicon: ""
property string image: ""
property string sticker: ""
property string stickerData: ""
property int contentType: -1
signal closeButtonClicked()
@ -88,6 +88,7 @@ Rectangle {
anchors.topMargin: 2
imageWidth: 64
imageHeight: 64
stickerData: root.stickerData
color: Style.current.transparent
contentType: root.contentType
}