Fix device verification toasts not disappearing

recheck in DeviceListener returned early if cross-signing wasn't
ready, but this was unnecessary and prevented it from hiding the
device verification toasts (which also appeared above the toast
to verify yourself).
pull/21833/head
David Baker 2020-04-30 11:00:35 +01:00
parent db36b7e1d5
commit 4f95c89ffc
1 changed files with 0 additions and 1 deletions

View File

@ -223,7 +223,6 @@ export default class DeviceListener {
}); });
} }
} }
return;
} else if (await cli.secretStorageKeyNeedsUpgrade()) { } else if (await cli.secretStorageKeyNeedsUpgrade()) {
ToastStore.sharedInstance().addOrReplaceToast({ ToastStore.sharedInstance().addOrReplaceToast({
key: THIS_DEVICE_TOAST_KEY, key: THIS_DEVICE_TOAST_KEY,