Remove dead code.
This commit is contained in:
parent
e4bfc5ef8f
commit
68736b5d58
1 changed files with 0 additions and 5 deletions
|
|
@ -26,7 +26,6 @@ import kotlinx.coroutines.flow.StateFlow
|
||||||
|
|
||||||
class FakeRoomListService : RoomListService {
|
class FakeRoomListService : RoomListService {
|
||||||
private val allRoomSummariesFlow = MutableStateFlow<List<RoomSummary>>(emptyList())
|
private val allRoomSummariesFlow = MutableStateFlow<List<RoomSummary>>(emptyList())
|
||||||
private val inviteRoomSummariesFlow = MutableStateFlow<List<RoomSummary>>(emptyList())
|
|
||||||
private val allRoomsLoadingStateFlow = MutableStateFlow<RoomList.LoadingState>(RoomList.LoadingState.NotLoaded)
|
private val allRoomsLoadingStateFlow = MutableStateFlow<RoomList.LoadingState>(RoomList.LoadingState.NotLoaded)
|
||||||
private val roomListStateFlow = MutableStateFlow<RoomListService.State>(RoomListService.State.Idle)
|
private val roomListStateFlow = MutableStateFlow<RoomListService.State>(RoomListService.State.Idle)
|
||||||
private val syncIndicatorStateFlow = MutableStateFlow<RoomListService.SyncIndicator>(RoomListService.SyncIndicator.Hide)
|
private val syncIndicatorStateFlow = MutableStateFlow<RoomListService.SyncIndicator>(RoomListService.SyncIndicator.Hide)
|
||||||
|
|
@ -35,10 +34,6 @@ class FakeRoomListService : RoomListService {
|
||||||
allRoomSummariesFlow.emit(roomSummaries)
|
allRoomSummariesFlow.emit(roomSummaries)
|
||||||
}
|
}
|
||||||
|
|
||||||
suspend fun postInviteRooms(roomSummaries: List<RoomSummary>) {
|
|
||||||
inviteRoomSummariesFlow.emit(roomSummaries)
|
|
||||||
}
|
|
||||||
|
|
||||||
suspend fun postAllRoomsLoadingState(loadingState: RoomList.LoadingState) {
|
suspend fun postAllRoomsLoadingState(loadingState: RoomList.LoadingState) {
|
||||||
allRoomsLoadingStateFlow.emit(loadingState)
|
allRoomsLoadingStateFlow.emit(loadingState)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue