[#7776] Blank screen after username submit when creating new account on Desktop
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
This commit is contained in:
parent
530a6dca2e
commit
5e1713ddf8
|
@ -20,7 +20,8 @@
|
||||||
[taoensso.timbre :as log]
|
[taoensso.timbre :as log]
|
||||||
[status-im.utils.fx :as fx]
|
[status-im.utils.fx :as fx]
|
||||||
[status-im.node.core :as node]
|
[status-im.node.core :as node]
|
||||||
[status-im.ui.screens.mobile-network-settings.events :as mobile-network]))
|
[status-im.ui.screens.mobile-network-settings.events :as mobile-network]
|
||||||
|
[status-im.utils.platform :as platform]))
|
||||||
|
|
||||||
(defn get-signing-phrase [cofx]
|
(defn get-signing-phrase [cofx]
|
||||||
(assoc cofx :signing-phrase (signing-phrase/generate)))
|
(assoc cofx :signing-phrase (signing-phrase/generate)))
|
||||||
|
@ -110,7 +111,8 @@
|
||||||
{:db db
|
{:db db
|
||||||
:notifications/request-notifications-permissions nil
|
:notifications/request-notifications-permissions nil
|
||||||
:dispatch-n [[:navigate-to :home]
|
:dispatch-n [[:navigate-to :home]
|
||||||
[:navigate-to :welcome]]}
|
(when-not platform/desktop?
|
||||||
|
[:navigate-to :welcome])]}
|
||||||
;; We set last updated as we are actually changing a field,
|
;; We set last updated as we are actually changing a field,
|
||||||
;; unlike on recovery where the name is not set
|
;; unlike on recovery where the name is not set
|
||||||
(accounts.update/account-update {:last-updated now
|
(accounts.update/account-update {:last-updated now
|
||||||
|
|
Loading…
Reference in New Issue