From 0675d6a7d92217f9b581ee9f400216e3662d658d Mon Sep 17 00:00:00 2001 From: mprakhov Date: Sun, 8 Jan 2023 22:59:05 +0200 Subject: [PATCH] fix(@desktop/chat): message box buttons do not work in group chat creation screen --- ui/app/AppLayouts/Chat/views/CreateChatView.qml | 2 ++ ui/app/mainui/AppMain.qml | 1 + 2 files changed, 3 insertions(+) diff --git a/ui/app/AppLayouts/Chat/views/CreateChatView.qml b/ui/app/AppLayouts/Chat/views/CreateChatView.qml index 04c7ef4b11..10d067bc6f 100644 --- a/ui/app/AppLayouts/Chat/views/CreateChatView.qml +++ b/ui/app/AppLayouts/Chat/views/CreateChatView.qml @@ -18,6 +18,7 @@ Page { property var rootStore property var emojiPopup: null + property var stickersPopup: null QtObject { id: d @@ -153,6 +154,7 @@ Page { visible: membersSelector.model.count > 0 chatType: membersSelector.model.count === 1? Constants.chatType.oneToOne : Constants.chatType.privateGroupChat emojiPopup: root.emojiPopup + stickersPopup: root.stickersPopup closeGifPopupAfterSelection: true onSendTransactionCommandButtonClicked: { root.rootStore.createChatStartSendTransactionProcess = true; diff --git a/ui/app/mainui/AppMain.qml b/ui/app/mainui/AppMain.qml index 91fa223a8f..563aa10f24 100644 --- a/ui/app/mainui/AppMain.qml +++ b/ui/app/mainui/AppMain.qml @@ -1014,6 +1014,7 @@ Item { sourceComponent: CreateChatView { rootStore: chatLayoutContainer.rootStore emojiPopup: statusEmojiPopup + stickersPopup: statusStickersPopup } } }