fix android multi-account root initialization after app relaunch (#15292)

This commit is contained in:
Parvesh Monu 2023-03-08 23:31:41 +05:30 committed by GitHub
parent 8478ac74ab
commit de8c294c9a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

@ -177,8 +177,7 @@
[]
(reset! state/curr-modal false)
(reset! state/dissmissing false)
(if (or (= @state/root-id :multiaccounts)
(= @state/root-id :multiaccounts-keycard))
(if (= @state/root-id :multiaccounts-stack)
(re-frame/dispatch-sync [::set-multiaccount-root])
(when @state/root-id
(navigation/set-root (get (roots/roots) @state/root-id))