fix(@desktop/chat): remove invalid argument from `showReplyArea`

- call arguments didn't match with prototype

fixes: #6407
This commit is contained in:
Patryk Osmaczko 2022-07-21 08:42:32 +02:00 committed by osmaczko
parent 819d210ab8
commit 13cfe18665
1 changed files with 3 additions and 3 deletions

View File

@ -64,7 +64,7 @@ ColumnLayout {
if(root.height > 0) {
chatInput.forceInputActiveFocus()
}
}
}
Keys.onEscapePressed: { topBar.toolbarComponent = statusChatInfoButton }
@ -412,7 +412,7 @@ ColumnLayout {
if (!obj) {
return
}
chatInput.showReplyArea(messageId, obj.senderDisplayName, obj.messageText, obj.senderIcon, obj.contentType, obj.messageImage, obj.sticker)
chatInput.showReplyArea(messageId, obj.senderDisplayName, obj.messageText, obj.contentType, obj.messageImage, obj.sticker)
}
}
@ -440,7 +440,7 @@ ColumnLayout {
if (!obj) {
return
}
chatInput.showReplyArea(messageId, obj.senderDisplayName, obj.messageText, obj.senderIcon, obj.contentType, obj.messageImage, obj.sticker)
chatInput.showReplyArea(messageId, obj.senderDisplayName, obj.messageText, obj.contentType, obj.messageImage, obj.sticker)
}
onOpenStickerPackPopup: {
root.openStickerPackPopup(stickerPackId);