From c6b13d783bd36c94c21b49925da2c058777dac76 Mon Sep 17 00:00:00 2001 From: Jonathan Rainville Date: Wed, 28 Jul 2021 10:34:45 -0400 Subject: [PATCH] fix(community): lock community type to on request --- ui/StatusQ | 2 +- .../Chat/CommunityComponents/CreateCommunityPopup.qml | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/ui/StatusQ b/ui/StatusQ index 556e5ccafc..7e03daeaf9 160000 --- a/ui/StatusQ +++ b/ui/StatusQ @@ -1 +1 @@ -Subproject commit 556e5ccafcdf3e398c4659aba6147e6901d1f9b3 +Subproject commit 7e03daeaf9bf4e1614d5507400b3d9a0ac016bc0 diff --git a/ui/app/AppLayouts/Chat/CommunityComponents/CreateCommunityPopup.qml b/ui/app/AppLayouts/Chat/CommunityComponents/CreateCommunityPopup.qml index 6a5254be5e..a185728b7a 100644 --- a/ui/app/AppLayouts/Chat/CommunityComponents/CreateCommunityPopup.qml +++ b/ui/app/AppLayouts/Chat/CommunityComponents/CreateCommunityPopup.qml @@ -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