fix: Endless bootstrap loading

This commit is contained in:
Christian Pauly 2021-02-06 11:23:08 +01:00
commit 72c76f72ba
3 changed files with 2 additions and 3 deletions

View file

@ -135,7 +135,7 @@ class _BootstrapDialogState extends State<BootstrapDialog> {
future: () =>
bootstrap.newSsssKey.unlock(keyOrPassphrase: input.single),
);
if (valid.error == null) bootstrap.openExistingSsss();
if (valid.error == null) await bootstrap.openExistingSsss();
}));
break;
case BootstrapState.askWipeCrossSigning: