mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-04 01:19:33 +00:00
Rename API and update test.
This commit is contained in:
committed by
Benoit Marty
parent
65d682f8ca
commit
80fa442b64
+1
-1
@@ -20,7 +20,7 @@ class InMemorySessionStore(
|
||||
) : SessionStore {
|
||||
private val sessionDataListFlow = MutableStateFlow(initialList)
|
||||
|
||||
override fun isLoggedIn(): Flow<LoggedInState> {
|
||||
override fun loggedInStateFlow(): Flow<LoggedInState> {
|
||||
return sessionDataListFlow.map {
|
||||
if (it.isEmpty()) {
|
||||
LoggedInState.NotLoggedIn
|
||||
|
||||
Reference in New Issue
Block a user