From ba1d245af92b2235864253f263145fbe7eacaa74 Mon Sep 17 00:00:00 2001 From: David Baker Date: Fri, 20 Mar 2020 19:01:26 +0000 Subject: [PATCH] Make SSSS migration toast dismissable --- src/DeviceListener.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/DeviceListener.js b/src/DeviceListener.js index 1835347838..a03119f37c 100644 --- a/src/DeviceListener.js +++ b/src/DeviceListener.js @@ -157,6 +157,11 @@ export default class DeviceListener { } return; } else if (await cli.secretStorageKeyNeedsUpgrade()) { + if (this._dismissedThisDeviceToast) { + ToastStore.sharedInstance().dismissToast(THIS_DEVICE_TOAST_KEY); + return; + } + // FIXME: do we a different message? ToastStore.sharedInstance().addOrReplaceToast({ key: THIS_DEVICE_TOAST_KEY,