mirror of
https://gitlab.com/famedly/fluffychat.git
synced 2025-01-11 18:22:49 +01:00
fix: Endless bootstrap loading
This commit is contained in:
parent
4c10ef5213
commit
65d5f9a27d
@ -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…
Reference in New Issue
Block a user