[#9231] fix flow of seed recovering on keycard
This commit is contained in:
parent
dfe259f14e
commit
0856ae12e0
|
@ -190,11 +190,11 @@
|
||||||
(let [storage-type (get-in db [:intro-wizard :selected-storage-type])]
|
(let [storage-type (get-in db [:intro-wizard :selected-storage-type])]
|
||||||
(if (= storage-type :advanced)
|
(if (= storage-type :advanced)
|
||||||
;;TODO: fix circular dependency to remove dispatch here
|
;;TODO: fix circular dependency to remove dispatch here
|
||||||
{:dispatch [:recovery.ui/keycard-option-pressed]})
|
{:dispatch [:recovery.ui/keycard-option-pressed]}
|
||||||
(fx/merge cofx
|
(fx/merge cofx
|
||||||
{:db (update db :intro-wizard assoc :step :create-code
|
{:db (update db :intro-wizard assoc :step :create-code
|
||||||
:forward-action :multiaccounts.recover/enter-password-next-pressed)}
|
:forward-action :multiaccounts.recover/enter-password-next-pressed)}
|
||||||
(navigation/navigate-to-cofx :recover-multiaccount-enter-password nil))))
|
(navigation/navigate-to-cofx :recover-multiaccount-enter-password nil)))))
|
||||||
|
|
||||||
(fx/defn re-encrypt-pressed
|
(fx/defn re-encrypt-pressed
|
||||||
{:events [:multiaccounts.recover/re-encrypt-pressed]}
|
{:events [:multiaccounts.recover/re-encrypt-pressed]}
|
||||||
|
|
Loading…
Reference in New Issue