[#11411] App is crashed on account creation after navigating to access key and back
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
This commit is contained in:
parent
28d3cf03d9
commit
9f7ad853f0
|
@ -116,10 +116,9 @@
|
||||||
[{:keys [db] :as cofx}]
|
[{:keys [db] :as cofx}]
|
||||||
(let [step (get-in db [:intro-wizard :step])]
|
(let [step (get-in db [:intro-wizard :step])]
|
||||||
(fx/merge cofx
|
(fx/merge cofx
|
||||||
(when-not (= :generate-key step)
|
(if (or (= step :enter-phrase) (= :generate-key step))
|
||||||
{:db (assoc-in db [:intro-wizard :step] (decrement-step step))})
|
#(prepare-intro-wizard %)
|
||||||
(when (= :generate-key-step)
|
{:db (assoc-in db [:intro-wizard :step] (decrement-step step))}))))
|
||||||
{:db (dissoc db :intro-wizard)}))))
|
|
||||||
|
|
||||||
(fx/defn intro-step-back
|
(fx/defn intro-step-back
|
||||||
{:events [:intro-wizard/navigate-back]}
|
{:events [:intro-wizard/navigate-back]}
|
||||||
|
|
Loading…
Reference in New Issue