rename parameter
This commit is contained in:
parent
a211cc1780
commit
4fb248cd9f
@ -59,9 +59,9 @@ class SharedPreferencesUiStateRepository @Inject constructor(
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
override fun storeSelectedSpace(roomId: String?, sessionId: String) {
|
override fun storeSelectedSpace(spaceId: String?, sessionId: String) {
|
||||||
sharedPreferences.edit {
|
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 storeDisplayMode(displayMode: RoomListDisplayMode)
|
||||||
|
|
||||||
fun storeSelectedSpace(roomId: String?, sessionId: String)
|
fun storeSelectedSpace(spaceId: String?, sessionId: String)
|
||||||
|
|
||||||
fun getSelectedSpace(sessionId: String): String?
|
fun getSelectedSpace(sessionId: String): String?
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user