From 13cfe186650da8bb753420a32ee44e5538ab26f5 Mon Sep 17 00:00:00 2001 From: Patryk Osmaczko Date: Thu, 21 Jul 2022 08:42:32 +0200 Subject: [PATCH] fix(@desktop/chat): remove invalid argument from `showReplyArea` - call arguments didn't match with prototype fixes: #6407 --- ui/app/AppLayouts/Chat/views/ChatContentView.qml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ui/app/AppLayouts/Chat/views/ChatContentView.qml b/ui/app/AppLayouts/Chat/views/ChatContentView.qml index 070984cd1b..ed8ef3a1a3 100644 --- a/ui/app/AppLayouts/Chat/views/ChatContentView.qml +++ b/ui/app/AppLayouts/Chat/views/ChatContentView.qml @@ -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);