[#9231] fix flow of seed recovering on keycard

This commit is contained in:
Roman Volosovskyi 2019-10-28 21:52:11 +02:00
parent dfe259f14e
commit 0856ae12e0
No known key found for this signature in database
GPG Key ID: 0238A4B5ECEE70DE
1 changed files with 5 additions and 5 deletions

View File

@ -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]})
{: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))))
(navigation/navigate-to-cofx :recover-multiaccount-enter-password nil)))))
(fx/defn re-encrypt-pressed
{:events [:multiaccounts.recover/re-encrypt-pressed]}