Session database: use the new count API.
This commit is contained in:
parent
85c9fd916b
commit
785ae3c1ad
4 changed files with 6 additions and 4 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue