fix android multi-account root initialization after app relaunch (#15292)
This commit is contained in:
parent
8478ac74ab
commit
de8c294c9a
|
@ -177,8 +177,7 @@
|
||||||
[]
|
[]
|
||||||
(reset! state/curr-modal false)
|
(reset! state/curr-modal false)
|
||||||
(reset! state/dissmissing false)
|
(reset! state/dissmissing false)
|
||||||
(if (or (= @state/root-id :multiaccounts)
|
(if (= @state/root-id :multiaccounts-stack)
|
||||||
(= @state/root-id :multiaccounts-keycard))
|
|
||||||
(re-frame/dispatch-sync [::set-multiaccount-root])
|
(re-frame/dispatch-sync [::set-multiaccount-root])
|
||||||
(when @state/root-id
|
(when @state/root-id
|
||||||
(navigation/set-root (get (roots/roots) @state/root-id))
|
(navigation/set-root (get (roots/roots) @state/root-id))
|
||||||
|
|
Loading…
Reference in New Issue