mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-02 21:33:26 +00:00
renamed function to resetRoomList
This commit is contained in:
@@ -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()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user