diff --git a/app/apps/evenhub/store-install.ts b/app/apps/evenhub/store-install.ts index 5c63e1a9..faa60f8c 100644 --- a/app/apps/evenhub/store-install.ts +++ b/app/apps/evenhub/store-install.ts @@ -53,8 +53,6 @@ export async function installStoreApp( const needsPrompt = (manifest.permissions.length > 0 || privacyPolicyUrl) && !alreadyGranted(app.packageId, manifest); if (needsPrompt) { - options.onStatus(""); - ctx.actions.requestRender(); const accepted = await new Promise((resolve) => { ctx.stack.push( new EvenHubPermissionDialogLayer( @@ -65,6 +63,10 @@ export async function installStoreApp( () => resolve(false), ), ); + // Only once the dialog is stacked: an in-process window's requestRender + // paints synchronously, and nothing else repaints after a download. + options.onStatus(""); + ctx.actions.requestRender(); }); if (!accepted) return null; }