fix: Endless bootstrap loading

onboarding
Christian Pauly 4 years ago
parent 48449bbad8
commit 72c76f72ba

@ -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:

@ -132,7 +132,6 @@ class MatrixState extends State<Matrix> {
StreamSubscription<html.Event> onBlurSub;
void _onUiaRequest(UiaRequest uiaRequest) async {
uiaRequest.onUpdate = (_) => _onUiaRequest(uiaRequest);
if (uiaRequest.state != UiaRequestState.waitForUser ||
uiaRequest.nextStages.isEmpty) return;
final stage = uiaRequest.nextStages.first;

@ -223,7 +223,7 @@ packages:
description:
path: "."
ref: main
resolved-ref: a6ee8053670ef4701e412bef0836480c4ad45905
resolved-ref: "9faf07e31ae825147c2b295517f04233e9342e25"
url: "https://gitlab.com/famedly/famedlysdk.git"
source: git
version: "0.0.1"

Loading…
Cancel
Save