diff --git a/lib/components/dialogs/bootstrap_dialog.dart b/lib/components/dialogs/bootstrap_dialog.dart index a694c34a..b70c08e3 100644 --- a/lib/components/dialogs/bootstrap_dialog.dart +++ b/lib/components/dialogs/bootstrap_dialog.dart @@ -135,7 +135,7 @@ class _BootstrapDialogState extends State { future: () => bootstrap.newSsssKey.unlock(keyOrPassphrase: input.single), ); - if (valid.error == null) bootstrap.openExistingSsss(); + if (valid.error == null) await bootstrap.openExistingSsss(); })); break; case BootstrapState.askWipeCrossSigning: diff --git a/lib/components/matrix.dart b/lib/components/matrix.dart index ed0c76f9..f16c9790 100644 --- a/lib/components/matrix.dart +++ b/lib/components/matrix.dart @@ -132,7 +132,6 @@ class MatrixState extends State { StreamSubscription onBlurSub; void _onUiaRequest(UiaRequest uiaRequest) async { - uiaRequest.onUpdate = (_) => _onUiaRequest(uiaRequest); if (uiaRequest.state != UiaRequestState.waitForUser || uiaRequest.nextStages.isEmpty) return; final stage = uiaRequest.nextStages.first; diff --git a/pubspec.lock b/pubspec.lock index 8b8b7f71..d662b8a7 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -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"