Don't show spinner over encryption setup dialogs
Fixes https://github.com/vector-im/riot-web/issues/13051pull/21833/head
parent
b8a57aa6f2
commit
bce22c620f
|
@ -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();
|
||||||
|
|
Loading…
Reference in New Issue