From 13fbd8e7a62374ab032a3752aba2afc912d4b533 Mon Sep 17 00:00:00 2001 From: John Gibbon Date: Wed, 18 Nov 2020 10:34:13 +0100 Subject: [PATCH] fix pulley menu --- .../chatInformationPage/ChatInformationPageContent.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qml/components/chatInformationPage/ChatInformationPageContent.qml b/qml/components/chatInformationPage/ChatInformationPageContent.qml index c340548..4b78df8 100644 --- a/qml/components/chatInformationPage/ChatInformationPageContent.qml +++ b/qml/components/chatInformationPage/ChatInformationPageContent.qml @@ -192,7 +192,7 @@ SilicaFlickable { } PullDownMenu { MenuItem { - visible: (chatPage.isSuperGroup || chatPage.isBasicGroup) && groupInformation && groupInformation.status["@type"] !== "chatMemberStatusBanned" + visible: (chatInformationPage.isSuperGroup || chatInformationPage.isBasicGroup) && chatInformationPage.groupInformation && chatInformationPage.groupInformation.status["@type"] !== "chatMemberStatusBanned" text: chatInformationPage.userIsMember ? qsTr("Leave Chat") : qsTr("Join Chat") onClicked: { // ensure it's done even if the page is closed: