From 6334268757198a32a9852df3dbae93ef7effb140 Mon Sep 17 00:00:00 2001 From: Andrey Shovkoplyas Date: Wed, 22 Jan 2020 12:39:03 +0100 Subject: [PATCH] remove chaos mode checking Signed-off-by: Andrey Shovkoplyas --- src/status_im/multiaccounts/login/core.cljs | 2 -- src/status_im/network/net_info.cljs | 2 -- 2 files changed, 4 deletions(-) diff --git a/src/status_im/multiaccounts/login/core.cljs b/src/status_im/multiaccounts/login/core.cljs index dbc90845ed..50204ae453 100644 --- a/src/status_im/multiaccounts/login/core.cljs +++ b/src/status_im/multiaccounts/login/core.cljs @@ -210,7 +210,6 @@ (contact/initialize-contacts) (stickers/init-stickers-packs) (mobile-network/on-network-status-change) - (chaos-mode/check-chaos-mode) (multiaccounts/switch-preview-privacy-mode-flag)))) (defn get-new-auth-method [auth-method save-password?] @@ -272,7 +271,6 @@ :mailserver-ranges {} :mailserver-topics {} :default-mailserver true}) - (chaos-mode/check-chaos-mode) (multiaccounts/switch-preview-privacy-mode-flag) (when-not platform/desktop? (initialize-wallet accounts nil))))) diff --git a/src/status_im/network/net_info.cljs b/src/status_im/network/net_info.cljs index fc6fa9ed64..f0833353f4 100644 --- a/src/status_im/network/net_info.cljs +++ b/src/status_im/network/net_info.cljs @@ -23,8 +23,6 @@ (fx/merge cofx {:db (assoc db :network/type network-type) :network/notify-status-go [network-type expensive?]} - (when (= "none" old-network-type) - (chaos-mode/check-chaos-mode)) (mobile-network/on-network-status-change))) (fx/defn handle-network-info-change