remove chaos mode checking

Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
This commit is contained in:
Andrey Shovkoplyas 2020-01-22 12:39:03 +01:00
parent 0106f6efcd
commit 6334268757
No known key found for this signature in database
GPG Key ID: EAAB7C8622D860A4
2 changed files with 0 additions and 4 deletions

View File

@ -210,7 +210,6 @@
(contact/initialize-contacts) (contact/initialize-contacts)
(stickers/init-stickers-packs) (stickers/init-stickers-packs)
(mobile-network/on-network-status-change) (mobile-network/on-network-status-change)
(chaos-mode/check-chaos-mode)
(multiaccounts/switch-preview-privacy-mode-flag)))) (multiaccounts/switch-preview-privacy-mode-flag))))
(defn get-new-auth-method [auth-method save-password?] (defn get-new-auth-method [auth-method save-password?]
@ -272,7 +271,6 @@
:mailserver-ranges {} :mailserver-ranges {}
:mailserver-topics {} :mailserver-topics {}
:default-mailserver true}) :default-mailserver true})
(chaos-mode/check-chaos-mode)
(multiaccounts/switch-preview-privacy-mode-flag) (multiaccounts/switch-preview-privacy-mode-flag)
(when-not platform/desktop? (when-not platform/desktop?
(initialize-wallet accounts nil))))) (initialize-wallet accounts nil)))))

View File

@ -23,8 +23,6 @@
(fx/merge cofx (fx/merge cofx
{:db (assoc db :network/type network-type) {:db (assoc db :network/type network-type)
:network/notify-status-go [network-type expensive?]} :network/notify-status-go [network-type expensive?]}
(when (= "none" old-network-type)
(chaos-mode/check-chaos-mode))
(mobile-network/on-network-status-change))) (mobile-network/on-network-status-change)))
(fx/defn handle-network-info-change (fx/defn handle-network-info-change