summaryrefslogtreecommitdiffstats
path: root/src/app.js
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2026-08-15 17:19:28 -0700
committerAdam Soltys <[email protected]>2026-08-15 17:19:28 -0700
commit18786c7774e817b6a55c27017c8f719c2197afcb (patch)
treea3e40cc0264bff7493b3d55f4584cd08690f891d /src/app.js
parentb269935af4d3b2fdc71b5f52340b25b9cb7d8da8 (diff)
downloadcoinosv3-18786c7774e817b6a55c27017c8f719c2197afcb.tar.gz
coinosv3-18786c7774e817b6a55c27017c8f719c2197afcb.zip
A newborn identity knows it has no portrait: fresh seeds skip the kind-0 wait and the punk paints the moment home appears
Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_014tE4U5nEjGTQy8PwYqamfv
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';