fix(desktop/chatInput) sticker was not shown in reply area
Closes #4023
This commit is contained in:
parent
f913dce44a
commit
b9fcbcf5d3
|
@ -554,7 +554,7 @@ Rectangle {
|
||||||
replyArea.identicon = identicon
|
replyArea.identicon = identicon
|
||||||
replyArea.contentType = contentType
|
replyArea.contentType = contentType
|
||||||
replyArea.image = image
|
replyArea.image = image
|
||||||
replyArea.sticker = sticker
|
replyArea.stickerData = sticker
|
||||||
messageInputField.forceActiveFocus();
|
messageInputField.forceActiveFocus();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -848,6 +848,7 @@ Rectangle {
|
||||||
anchors.rightMargin: 2
|
anchors.rightMargin: 2
|
||||||
anchors.top: parent.top
|
anchors.top: parent.top
|
||||||
anchors.topMargin: 2
|
anchors.topMargin: 2
|
||||||
|
stickerData: sticker
|
||||||
onCloseButtonClicked: {
|
onCloseButtonClicked: {
|
||||||
isReply = false
|
isReply = false
|
||||||
}
|
}
|
||||||
|
|
|
@ -20,7 +20,7 @@ Rectangle {
|
||||||
property string message : ""
|
property string message : ""
|
||||||
property string identicon: ""
|
property string identicon: ""
|
||||||
property string image: ""
|
property string image: ""
|
||||||
property string sticker: ""
|
property string stickerData: ""
|
||||||
property int contentType: -1
|
property int contentType: -1
|
||||||
|
|
||||||
signal closeButtonClicked()
|
signal closeButtonClicked()
|
||||||
|
@ -88,6 +88,7 @@ Rectangle {
|
||||||
anchors.topMargin: 2
|
anchors.topMargin: 2
|
||||||
imageWidth: 64
|
imageWidth: 64
|
||||||
imageHeight: 64
|
imageHeight: 64
|
||||||
|
stickerData: root.stickerData
|
||||||
color: Style.current.transparent
|
color: Style.current.transparent
|
||||||
contentType: root.contentType
|
contentType: root.contentType
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue