Merge pull request #5678 from element-hq/feature/bma/countAccounts

Introduce new query to count accounts
This commit is contained in:
Benoit Marty 2025-11-04 16:17:10 +01:00 committed by GitHub
commit d6360e82e0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 33 additions and 4 deletions

View file

@ -90,7 +90,7 @@ class OnBoardingPresenter(
}
val isAddingAccount by produceState(initialValue = false) {
// We are adding an account if there is at least one session already stored
value = sessionStore.getAllSessions().isNotEmpty()
value = sessionStore.numberOfSessions() > 0
}
val loginMode by loginHelper.collectLoginMode()