fix(community): lock community type to on request

This commit is contained in:
Jonathan Rainville 2021-07-28 10:34:45 -04:00 committed by Iuri Matias
parent 5c36f2ca1a
commit c6b13d783b
2 changed files with 5 additions and 2 deletions

@ -1 +1 @@
Subproject commit 556e5ccafcdf3e398c4659aba6147e6901d1f9b3
Subproject commit 7e03daeaf9bf4e1614d5507400b3d9a0ac016bc0

View File

@ -340,6 +340,8 @@ StatusModal {
visible: !isEdit
//% "Membership requirement"
title: qsTrId("membership-title")
// TODO: remove 'isEnabled: false' when we no longer need to force "request access" membership
enabled: false
label: {
switch (membershipRequirementSettingPopup.checkedMembership) {
//% "Require invite from another member"
@ -361,7 +363,8 @@ StatusModal {
}
StatusBaseText {
visible: !isEdit
// TODO: remove 'false' when we no longer need to force "request access" membership
visible: false && !isEdit
height: visible ? implicitHeight : 0
wrapMode: Text.WordWrap
font.pixelSize: 13