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).
This commit is contained in:
David Baker 2020-04-30 11:00:35 +01:00
parent 0eb39d8756
commit e845409167

View file

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