aboutsummaryrefslogtreecommitdiffstats
path: root/src/features/nostrlogin.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/features/nostrlogin.js')
-rw-r--r--src/features/nostrlogin.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/features/nostrlogin.js b/src/features/nostrlogin.js
index a084dd1..687a389 100644
--- a/src/features/nostrlogin.js
+++ b/src/features/nostrlogin.js
@@ -85,6 +85,9 @@ export function nostrLoginFeature(ctx) {
let signer;
try {
signer = await makeSigner();
+ // warm the identity's profile + avatar in parallel with the seed work,
+ // so the home screen's first paint already has the picture
+ ctx.hook('warmProfile', signer.pubkey);
const res = await walletForSigner(signer);
if (res.mode === 'new') {
// No wallet on this identity yet — make one and walk straight in.