Allow joined rooms to be pushed within a space. (#4460)

* Allow joined rooms to be pushed within a space.

* Push a room in the space flow tests.

Also fixes some snapshots stale snapshots.

* Show the selected space/room within a space and set a custom title view.
This commit is contained in:
Doug
2025-09-03 17:48:49 +01:00
committed by GitHub
parent 8d069fb74c
commit 039084966a
28 changed files with 170 additions and 44 deletions

View File

@@ -76,7 +76,7 @@ class SpaceListScreenViewModelTests: XCTestCase {
clientProxy.spaceService = spaceServiceProxy
viewModel = SpaceListScreenViewModel(userSession: userSession,
selectedSpaceSubject: .init(nil),
selectedSpacePublisher: .init(nil),
userIndicatorController: UserIndicatorControllerMock())
}
}

View File

@@ -117,6 +117,7 @@ class SpaceScreenViewModelTests: XCTestCase {
viewModel = SpaceScreenViewModel(spaceRoomListProxy: spaceRoomListProxy,
spaceServiceProxy: spaceServiceProxy,
selectedSpaceRoomPublisher: .init(nil),
mediaProvider: MediaProviderMock(configuration: .init()),
userIndicatorController: UserIndicatorControllerMock())
}