remove NETWORK_SWITCHING flag

This commit is contained in:
Roman Volosovskyi 2017-10-20 18:39:41 +02:00
parent 0f97f16a38
commit 88326d4b56
5 changed files with 2 additions and 8 deletions

1
.env
View File

@ -2,6 +2,5 @@ TESTFAIRY_ENABLED=0
NOTIFICATIONS_WIP_ENABLED=1
DEBUG_LOGS_ENABLED=1
STUB_STATUS_GO=0
NETWORK_SWITCHING=1
ETHEREUM_DEV_CLUSTER=1
MAINNET_NETWORKS_ENABLED=1

View File

@ -2,6 +2,5 @@ TESTFAIRY_ENABLED=1
NOTIFICATIONS_WIP_ENABLED=1
DEBUG_LOGS_ENABLED=1
STUB_STATUS_GO=0
NETWORK_SWITCHING=1
ETHEREUM_DEV_CLUSTER=1
MAINNET_NETWORKS_ENABLED=1

View File

@ -2,6 +2,5 @@ TESTFAIRY_ENABLED=0
NOTIFICATIONS_WIP_ENABLED=1
DEBUG_LOGS_ENABLED=0
STUB_STATUS_GO=0
NETWORK_SWITCHING=0
ETHEREUM_DEV_CLUSTER=0
MAINNET_NETWORKS_ENABLED=0

View File

@ -178,8 +178,7 @@
[{:value #(dispatch [:my-profile/change-phone-number])
:text (label :t/edit)}]]
[info-item-separator]
(when config/network-switching-enabled?
[network-settings])])
[network-settings]])
(defn profile-status [status & [edit?]]
[react/view styles/profile-status-container

View File

@ -13,13 +13,11 @@
;; flags stay up to date and are removed once behavior introduced is stable.
;;
;; TESTFAIRY_ENABLED - indefinite
;; STUB_STATUS_GO - indefinite
;; NOTIFICATIONS_WIP_ENABLED - in 0.9.12 release, remove in develop if all goes well
;; STUB_STATUS_GO - TBD - roman knows
;; NETWORK_SWITCHING - TBD - roman knows
(def testfairy-enabled? (enabled? (get-config :TESTFAIRY_ENABLED)))
(def notifications-wip-enabled? (enabled? (get-config :NOTIFICATIONS_WIP_ENABLED 0)))
(def stub-status-go? (enabled? (get-config :STUB_STATUS_GO 0)))
(def network-switching-enabled? (enabled? (get-config :NETWORK_SWITCHING 0)))
(def mainnet-networks-enabled? (enabled? (get-config :MAINNET_NETWORKS_ENABLED 0)))