chore: hide edit community button until the feature is implemented

This commit is contained in:
Jonathan Rainville 2021-03-18 13:58:17 -04:00 committed by Iuri Matias
parent 29c7f7b91d
commit 98ef76d3c8
2 changed files with 5 additions and 3 deletions

View File

@ -18,7 +18,7 @@ ModalPopup {
property string communityColor: ""
property int nbMembers: community.nbMembers
property bool isAdmin: false
height: stack.currentItem.height + modalHeader.height + modalFooter.height + Style.current.padding*3
height: stack.currentItem.height + modalHeader.height + modalFooter.height + Style.current.padding * 3
id: popup
onClosed: {
@ -99,7 +99,8 @@ ModalPopup {
StackView {
id: stack
initialItem: profileOverview
anchors.fill: parent
width: parent.width
pushEnter: Transition { enabled: false }
pushExit: Transition { enabled: false }

View File

@ -205,7 +205,8 @@ Item {
}
Loader {
active: isAdmin
// TODO once Edit is vailable in the app, put back isAdmin
active: false//isAdmin
width: parent.width
sourceComponent: CommunityPopupButton {
//% "Edit community"