more debugging

This commit is contained in:
Christien Rioux 2024-02-14 21:33:15 -05:00
parent 9219e1307e
commit 5cec423351
13 changed files with 424 additions and 708 deletions

View file

@ -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