refactor(desktop/chat) fixed sticker disappears when replying

Closes #4023
This commit is contained in:
Alexandra Betouni 2021-11-03 22:58:21 +02:00 committed by Iuri Matias
parent 894e57fbdb
commit 1e8f51fff6
1 changed files with 1 additions and 2 deletions

View File

@ -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)
} }