fix: Endless bootstrap loading
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user