rename parameter

This commit is contained in:
Benoit Marty 2021-03-29 16:08:22 +02:00 committed by Valere
parent a211cc1780
commit 4fb248cd9f
2 changed files with 3 additions and 3 deletions

View file

@ -59,9 +59,9 @@ class SharedPreferencesUiStateRepository @Inject constructor(
}
}
override fun storeSelectedSpace(roomId: String?, sessionId: String) {
override fun storeSelectedSpace(spaceId: String?, sessionId: String) {
sharedPreferences.edit {
putString("$KEY_SELECTED_SPACE@$sessionId", roomId)
putString("$KEY_SELECTED_SPACE@$sessionId", spaceId)
}
}

View file

@ -32,7 +32,7 @@ interface UiStateRepository {
fun storeDisplayMode(displayMode: RoomListDisplayMode)
fun storeSelectedSpace(roomId: String?, sessionId: String)
fun storeSelectedSpace(spaceId: String?, sessionId: String)
fun getSelectedSpace(sessionId: String): String?
}