mirror of
https://gitlab.com/veilid/veilidchat.git
synced 2025-05-31 12:04:25 -04:00
more debugging
This commit is contained in:
parent
9219e1307e
commit
5cec423351
13 changed files with 424 additions and 708 deletions
|
@ -31,7 +31,9 @@ class RouterCubit extends Cubit<RouterState> {
|
|||
// Watch for changes that the router will care about
|
||||
Future.delayed(Duration.zero, () async {
|
||||
await eventualInitialized.future;
|
||||
emit(state.copyWith(isInitialized: true));
|
||||
emit(state.copyWith(
|
||||
isInitialized: true,
|
||||
hasAnyAccount: accountRepository.getLocalAccounts().isNotEmpty));
|
||||
});
|
||||
|
||||
// Subscribe to repository streams
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue