chore: hide edit community button until the feature is implemented
This commit is contained in:
parent
29c7f7b91d
commit
98ef76d3c8
|
@ -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 }
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue