aboutsummaryrefslogtreecommitdiffstats
path: root/src/app.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/app.js')
-rw-r--r--src/app.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/app.js b/src/app.js
index cc30cee..f5337b6 100644
--- a/src/app.js
+++ b/src/app.js
@@ -1017,6 +1017,9 @@ async function activateAccount(acc, opts = {}) {
persistAccounts();
autoSave(acc);
for (const f of FEATURES) { try { f.init && f.init(); } catch {} } // per-feature wallet lifecycle
+ // A freshly generated identity provably has no profile yet — let features
+ // skip the "is there a kind-0?" wait (avatar would sit blank meanwhile).
+ if (opts.generated) featureHook('identityGenerated');
const hadCache = wallet.restoreCache(); // show last-known balance/history instantly
// An opened gift link starts on a claim/back-up screen instead of the wallet.
ui.screen = opts.gift ? 'claim' : 'wallet';