mirror of
https://github.com/status-im/status-desktop.git
synced 2025-02-16 16:47:24 +00:00
fix(Community): leave community from Community profile popup
This commit is contained in:
parent
d2b6bf9310
commit
17b3a44458
@ -65,9 +65,7 @@ ListView {
|
|||||||
icon.source: "../../../img/arrow-left.svg"
|
icon.source: "../../../img/arrow-left.svg"
|
||||||
icon.width: 12
|
icon.width: 12
|
||||||
icon.height: 9
|
icon.height: 9
|
||||||
onTriggered: {
|
onTriggered: chatsModel.communities.leaveCommunity(commnunityMenu.communityId)
|
||||||
chatsModel.communities.leaveCommunity(commnunityMenu.communityId)
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -229,6 +229,7 @@ Item {
|
|||||||
label: qsTrId("leave-community")
|
label: qsTrId("leave-community")
|
||||||
iconName: "leave"
|
iconName: "leave"
|
||||||
type: globalSettings.theme === Universal.Dark ? "secondary" : "primary"
|
type: globalSettings.theme === Universal.Dark ? "secondary" : "primary"
|
||||||
|
onClicked: chatsModel.communities.leaveCommunity(communityId)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user