Remove options to create community from mobile from release and nightly builds (#17495)
This commit is contained in:
parent
aef2f2cfed
commit
4235c71b2f
1
.env
1
.env
|
@ -33,3 +33,4 @@ SWAP_ENABLED=1
|
||||||
STICKERS_TEST_ENABLED=1
|
STICKERS_TEST_ENABLED=1
|
||||||
LOCAL_PAIRING_ENABLED=1
|
LOCAL_PAIRING_ENABLED=1
|
||||||
TEST_STATEOFUS=1
|
TEST_STATEOFUS=1
|
||||||
|
FAST_CREATE_COMMUNITY_ENABLED=1
|
||||||
|
|
|
@ -19,3 +19,4 @@ ENABLE_ROOT_ALERT=1
|
||||||
MAX_IMAGES_BATCH=1
|
MAX_IMAGES_BATCH=1
|
||||||
DELETE_MESSAGE_ENABLED=1
|
DELETE_MESSAGE_ENABLED=1
|
||||||
COLLECTIBLES_ENABLED=1
|
COLLECTIBLES_ENABLED=1
|
||||||
|
FAST_CREATE_COMMUNITY_ENABLED=0
|
||||||
|
|
|
@ -9,13 +9,13 @@
|
||||||
[(concat [{:icon :i/download
|
[(concat [{:icon :i/download
|
||||||
:accessibility-label :import-community
|
:accessibility-label :import-community
|
||||||
:label "Import community"
|
:label "Import community"
|
||||||
:on-press #(rf/dispatch [:navigate-to :community-import])}
|
:on-press #(rf/dispatch [:navigate-to :community-import])}]
|
||||||
{:icon :i/communities
|
|
||||||
:accessibility-label :create-community
|
|
||||||
:label "Create community (only for e2e)"
|
|
||||||
:on-press #(rf/dispatch [:legacy-only-for-e2e/open-create-community])}]
|
|
||||||
(when config/fast-create-community-enabled?
|
(when config/fast-create-community-enabled?
|
||||||
[{:icon :i/communities
|
[{:icon :i/communities
|
||||||
|
:accessibility-label :create-community
|
||||||
|
:label "Create community (only for e2e)"
|
||||||
|
:on-press #(rf/dispatch [:legacy-only-for-e2e/open-create-community])}
|
||||||
|
{:icon :i/communities
|
||||||
:accessibility-label :create-closed-community
|
:accessibility-label :create-closed-community
|
||||||
:label "Create closed community"
|
:label "Create closed community"
|
||||||
:on-press #(rf/dispatch [:fast-create-community/create-closed-community])}
|
:on-press #(rf/dispatch [:fast-create-community/create-closed-community])}
|
||||||
|
|
Loading…
Reference in New Issue