Rename API and update test.
This commit is contained in:
parent
65d682f8ca
commit
80fa442b64
4 changed files with 9 additions and 7 deletions
|
|
@ -33,7 +33,7 @@ class DatabaseSessionStore(
|
|||
) : SessionStore {
|
||||
private val sessionDataMutex = Mutex()
|
||||
|
||||
override fun isLoggedIn(): Flow<LoggedInState> {
|
||||
override fun loggedInStateFlow(): Flow<LoggedInState> {
|
||||
return database.sessionDataQueries.selectFirst()
|
||||
.asFlow()
|
||||
.mapToOneOrNull(dispatchers.io)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue