Merge pull request #4354 from matrix-org/dbkr/dont_block_dialogs_with_spinner
Don't show spinner over encryption setup dialogs
This commit is contained in:
commit
112e198a54
1 changed files with 3 additions and 1 deletions
|
@ -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 a new issue