Skip to content

Commit

Permalink
[#9231] fix flow of seed recovering on keycard
Browse files Browse the repository at this point in the history
  • Loading branch information
rasom committed Oct 28, 2019
1 parent dfe259f commit 0856ae1
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/status_im/multiaccounts/recover/core.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -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]}
Expand Down

0 comments on commit 0856ae1

Please sign in to comment.