From bce22c620fa8245e94ebcdcd2586d530b87a0f89 Mon Sep 17 00:00:00 2001 From: David Baker Date: Tue, 7 Apr 2020 13:08:18 +0100 Subject: [PATCH] Don't show spinner over encryption setup dialogs Fixes https://github.com/vector-im/riot-web/issues/13051 --- src/components/views/toasts/SetupEncryptionToast.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/components/views/toasts/SetupEncryptionToast.js b/src/components/views/toasts/SetupEncryptionToast.js index 6e2df12658..3c1f42b526 100644 --- a/src/components/views/toasts/SetupEncryptionToast.js +++ b/src/components/views/toasts/SetupEncryptionToast.js @@ -63,7 +63,9 @@ export default class SetupEncryptionToast extends React.PureComponent { {}, null, /* priority = */ false, /* static = */ true); } else { 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 { await accessSecretStorage(); await this._waitForCompletion();