mirror of
https://gitlab.com/famedly/fluffychat.git
synced 2025-01-25 19:44:17 +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: () =>
|
future: () =>
|
||||||
bootstrap.newSsssKey.unlock(keyOrPassphrase: input.single),
|
bootstrap.newSsssKey.unlock(keyOrPassphrase: input.single),
|
||||||
);
|
);
|
||||||
if (valid.error == null) bootstrap.openExistingSsss();
|
if (valid.error == null) await bootstrap.openExistingSsss();
|
||||||
}));
|
}));
|
||||||
break;
|
break;
|
||||||
case BootstrapState.askWipeCrossSigning:
|
case BootstrapState.askWipeCrossSigning:
|
||||||
|
@ -132,7 +132,6 @@ class MatrixState extends State<Matrix> {
|
|||||||
StreamSubscription<html.Event> onBlurSub;
|
StreamSubscription<html.Event> onBlurSub;
|
||||||
|
|
||||||
void _onUiaRequest(UiaRequest uiaRequest) async {
|
void _onUiaRequest(UiaRequest uiaRequest) async {
|
||||||
uiaRequest.onUpdate = (_) => _onUiaRequest(uiaRequest);
|
|
||||||
if (uiaRequest.state != UiaRequestState.waitForUser ||
|
if (uiaRequest.state != UiaRequestState.waitForUser ||
|
||||||
uiaRequest.nextStages.isEmpty) return;
|
uiaRequest.nextStages.isEmpty) return;
|
||||||
final stage = uiaRequest.nextStages.first;
|
final stage = uiaRequest.nextStages.first;
|
||||||
|
@ -223,7 +223,7 @@ packages:
|
|||||||
description:
|
description:
|
||||||
path: "."
|
path: "."
|
||||||
ref: main
|
ref: main
|
||||||
resolved-ref: a6ee8053670ef4701e412bef0836480c4ad45905
|
resolved-ref: "9faf07e31ae825147c2b295517f04233e9342e25"
|
||||||
url: "https://gitlab.com/famedly/famedlysdk.git"
|
url: "https://gitlab.com/famedly/famedlysdk.git"
|
||||||
source: git
|
source: git
|
||||||
version: "0.0.1"
|
version: "0.0.1"
|
||||||
|
Loading…
Reference in New Issue
Block a user