From 0856ae12e0b8e6ef7bff6f052cd7cc4b373db67b Mon Sep 17 00:00:00 2001 From: Roman Volosovskyi Date: Mon, 28 Oct 2019 21:52:11 +0200 Subject: [PATCH] [#9231] fix flow of seed recovering on keycard --- src/status_im/multiaccounts/recover/core.cljs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/status_im/multiaccounts/recover/core.cljs b/src/status_im/multiaccounts/recover/core.cljs index 08dbe5578f..dbc72cf656 100644 --- a/src/status_im/multiaccounts/recover/core.cljs +++ b/src/status_im/multiaccounts/recover/core.cljs @@ -190,11 +190,11 @@ (let [storage-type (get-in db [:intro-wizard :selected-storage-type])] (if (= storage-type :advanced) ;;TODO: fix circular dependency to remove dispatch here - {:dispatch [:recovery.ui/keycard-option-pressed]}) - (fx/merge cofx - {:db (update db :intro-wizard assoc :step :create-code - :forward-action :multiaccounts.recover/enter-password-next-pressed)} - (navigation/navigate-to-cofx :recover-multiaccount-enter-password nil)))) + {:dispatch [:recovery.ui/keycard-option-pressed]} + (fx/merge cofx + {:db (update db :intro-wizard assoc :step :create-code + :forward-action :multiaccounts.recover/enter-password-next-pressed)} + (navigation/navigate-to-cofx :recover-multiaccount-enter-password nil))))) (fx/defn re-encrypt-pressed {:events [:multiaccounts.recover/re-encrypt-pressed]}