mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2024-11-23 09:56:00 +03:00
rename parameter
This commit is contained in:
parent
a211cc1780
commit
4fb248cd9f
2 changed files with 3 additions and 3 deletions
|
@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -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?
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue