refactor(desktop/chat) fixed sticker disappears when replying
Closes #4023
This commit is contained in:
parent
894e57fbdb
commit
1e8f51fff6
|
@ -429,7 +429,6 @@ Item {
|
||||||
anchors.right: parent.right
|
anchors.right: parent.right
|
||||||
anchors.rightMargin: root.chatHorizontalPadding
|
anchors.rightMargin: root.chatHorizontalPadding
|
||||||
visible: !isEdit
|
visible: !isEdit
|
||||||
|
|
||||||
ChatTextView {
|
ChatTextView {
|
||||||
id: chatText
|
id: chatText
|
||||||
store: root.store
|
store: root.store
|
||||||
|
@ -509,7 +508,7 @@ Item {
|
||||||
anchors.left: parent.left
|
anchors.left: parent.left
|
||||||
anchors.leftMargin: root.chatVerticalPadding
|
anchors.leftMargin: root.chatVerticalPadding
|
||||||
contentType: root.contentType
|
contentType: root.contentType
|
||||||
stickerData: root.messageStore.sticker
|
stickerData: sticker
|
||||||
onLoaded: {
|
onLoaded: {
|
||||||
root.messageStore.scrollToBottom(true, root.container)
|
root.messageStore.scrollToBottom(true, root.container)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue