Skip to content

Commit

Permalink
Remove options to create community from mobile from release and night…
Browse files Browse the repository at this point in the history
…ly builds (#17495)
  • Loading branch information
Parveshdhull authored Oct 4, 2023
1 parent aef2f2c commit 4235c71
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
1 change: 1 addition & 0 deletions .env
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,4 @@ SWAP_ENABLED=1
STICKERS_TEST_ENABLED=1
LOCAL_PAIRING_ENABLED=1
TEST_STATEOFUS=1
FAST_CREATE_COMMUNITY_ENABLED=1
1 change: 1 addition & 0 deletions .env.release
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,4 @@ ENABLE_ROOT_ALERT=1
MAX_IMAGES_BATCH=1
DELETE_MESSAGE_ENABLED=1
COLLECTIBLES_ENABLED=1
FAST_CREATE_COMMUNITY_ENABLED=0
10 changes: 5 additions & 5 deletions src/status_im2/contexts/communities/actions/home_plus/view.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -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])}
Expand Down

0 comments on commit 4235c71

Please sign in to comment.