Skip to content

Commit

Permalink
fix(@desktop/chat): message box buttons do not work in group chat cre…
Browse files Browse the repository at this point in the history
…ation screen
  • Loading branch information
mprakhov committed Jan 9, 2023
1 parent 364124b commit 0675d6a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ui/app/AppLayouts/Chat/views/CreateChatView.qml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ Page {

property var rootStore
property var emojiPopup: null
property var stickersPopup: null

QtObject {
id: d
Expand Down Expand Up @@ -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;
Expand Down
1 change: 1 addition & 0 deletions ui/app/mainui/AppMain.qml
Original file line number Diff line number Diff line change
Expand Up @@ -1014,6 +1014,7 @@ Item {
sourceComponent: CreateChatView {
rootStore: chatLayoutContainer.rootStore
emojiPopup: statusEmojiPopup
stickersPopup: statusStickersPopup
}
}
}
Expand Down

0 comments on commit 0675d6a

Please sign in to comment.