Rename method storeData to addSession.

This commit is contained in:
Benoit Marty 2025-08-27 16:48:45 +02:00 committed by Benoit Marty
parent 95ce40406b
commit 65d682f8ca
6 changed files with 11 additions and 11 deletions

View file

@ -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.