renamed function to resetRoomList

This commit is contained in:
Mauro Romito
2026-02-09 18:22:01 +01:00
committed by Mauro
parent d6c579975e
commit db3a6239e1
4 changed files with 6 additions and 6 deletions
@@ -94,7 +94,7 @@ final class SpaceScreenCoordinator: CoordinatorProtocol {
AnyView(SpaceScreen(context: viewModel.context))
}
func reset() {
viewModel.reset()
func resetRoomList() {
viewModel.resetRoomList()
}
}
@@ -170,7 +170,7 @@ class SpaceScreenViewModel: SpaceScreenViewModelType, SpaceScreenViewModelProtoc
state.joiningRoomIDs.removeAll()
}
func reset() {
func resetRoomList() {
Task { await spaceRoomListProxy.resetAndWaitForFullReload(timeout: .seconds(10)) }
}
@@ -15,5 +15,5 @@ protocol SpaceScreenViewModelProtocol {
func stop()
func reset()
func resetRoomList()
}