fix: Endless bootstrap loading
This commit is contained in:
parent
48449bbad8
commit
72c76f72ba
3 changed files with 2 additions and 3 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue