diff --git a/.env b/.env index e9cfd2e243..094c61e7b7 100644 --- a/.env +++ b/.env @@ -33,3 +33,4 @@ SWAP_ENABLED=1 STICKERS_TEST_ENABLED=1 LOCAL_PAIRING_ENABLED=1 TEST_STATEOFUS=1 +FAST_CREATE_COMMUNITY_ENABLED=1 diff --git a/.env.release b/.env.release index a9f588623d..977342b4af 100644 --- a/.env.release +++ b/.env.release @@ -19,3 +19,4 @@ ENABLE_ROOT_ALERT=1 MAX_IMAGES_BATCH=1 DELETE_MESSAGE_ENABLED=1 COLLECTIBLES_ENABLED=1 +FAST_CREATE_COMMUNITY_ENABLED=0 diff --git a/src/status_im2/contexts/communities/actions/home_plus/view.cljs b/src/status_im2/contexts/communities/actions/home_plus/view.cljs index 772cebab42..0e2d98e43f 100644 --- a/src/status_im2/contexts/communities/actions/home_plus/view.cljs +++ b/src/status_im2/contexts/communities/actions/home_plus/view.cljs @@ -9,13 +9,13 @@ [(concat [{:icon :i/download :accessibility-label :import-community :label "Import community" - :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])}] + :on-press #(rf/dispatch [:navigate-to :community-import])}] (when config/fast-create-community-enabled? [{: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 :label "Create closed community" :on-press #(rf/dispatch [:fast-create-community/create-closed-community])}