Don't show spinner over encryption setup dialogs

Fixes https://github.com/vector-im/riot-web/issues/13051
pull/21833/head
David Baker 2020-04-07 13:08:18 +01:00
parent b8a57aa6f2
commit bce22c620f
1 changed files with 3 additions and 1 deletions

View File

@ -63,7 +63,9 @@ export default class SetupEncryptionToast extends React.PureComponent {
{}, null, /* priority = */ false, /* static = */ true); {}, null, /* priority = */ false, /* static = */ true);
} else { } else {
const Spinner = sdk.getComponent("elements.Spinner"); const Spinner = sdk.getComponent("elements.Spinner");
const modal = Modal.createDialog(Spinner, null, 'mx_Dialog_spinner'); const modal = Modal.createDialog(
Spinner, null, 'mx_Dialog_spinner', /* priority */ false, /* static */ true,
);
try { try {
await accessSecretStorage(); await accessSecretStorage();
await this._waitForCompletion(); await this._waitForCompletion();