Rename method storeData to addSession.
This commit is contained in:
committed by
Benoit Marty
parent
95ce40406b
commit
65d682f8ca
+1
-1
@@ -13,7 +13,7 @@ import kotlinx.coroutines.flow.map
|
||||
interface SessionStore {
|
||||
fun isLoggedIn(): Flow<LoggedInState>
|
||||
fun sessionsFlow(): Flow<List<SessionData>>
|
||||
suspend fun storeData(sessionData: SessionData)
|
||||
suspend fun addSession(sessionData: SessionData)
|
||||
|
||||
/**
|
||||
* Will update the session data matching the userId, except the value of loginTimestamp.
|
||||
|
||||
Reference in New Issue
Block a user