fix pulley menu
This commit is contained in:
parent
95b0ddef8e
commit
13fbd8e7a6
1 changed files with 1 additions and 1 deletions
|
@ -192,7 +192,7 @@ SilicaFlickable {
|
||||||
}
|
}
|
||||||
PullDownMenu {
|
PullDownMenu {
|
||||||
MenuItem {
|
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")
|
text: chatInformationPage.userIsMember ? qsTr("Leave Chat") : qsTr("Join Chat")
|
||||||
onClicked: {
|
onClicked: {
|
||||||
// ensure it's done even if the page is closed:
|
// ensure it's done even if the page is closed:
|
||||||
|
|
Loading…
Reference in a new issue