fix(create/join chat): icon buttons were highlighted always

Closes #5146
Closes #5137
This commit is contained in:
Alexandra Betouni 2022-03-29 00:43:04 +03:00 committed by Iuri Matias
parent d35344834e
commit 7a89781c38
1 changed files with 2 additions and 0 deletions

View File

@ -88,6 +88,7 @@ Item {
StatusIconTabButton {
icon.name: "public-chat"
checked: publicChatCommunityContextMenu.visible
onClicked: { publicChatCommunityContextMenu.popup(); }
StatusPopupMenu {
id: publicChatCommunityContextMenu
@ -112,6 +113,7 @@ Item {
StatusIconTabButton {
icon.name: "edit"
checked: root.store.openCreateChat
onClicked: {
root.store.openCreateChat = !root.store.openCreateChat;
}