Rename method storeData to addSession.
This commit is contained in:
parent
95ce40406b
commit
65d682f8ca
6 changed files with 11 additions and 11 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue