4850 bring leaving space experience in line with web (#6062)

* Bring leaving space experience in line with Web #4850

- Done
This commit is contained in:
Gil Eluard
2022-04-27 13:31:14 +02:00
committed by GitHub
parent 751e21f97b
commit 07f8d4d52e
23 changed files with 537 additions and 60 deletions
@@ -37,6 +37,8 @@ class MatrixItemChooserUITests: MockScreenTest {
verifyPopulatedScreen()
case .selectedItems:
verifyPopulatedWithSelectionScreen()
case .selectionHeader:
break
}
}
@@ -28,7 +28,7 @@ class MatrixItemChooserViewModelTests: XCTestCase {
override func setUpWithError() throws {
service = MockMatrixItemChooserService(type: .room)
viewModel = MatrixItemChooserViewModel.makeMatrixItemChooserViewModel(matrixItemChooserService: service, title: VectorL10n.spacesCreationAddRoomsTitle, detail: VectorL10n.spacesCreationAddRoomsMessage)
viewModel = MatrixItemChooserViewModel.makeMatrixItemChooserViewModel(matrixItemChooserService: service, title: VectorL10n.spacesCreationAddRoomsTitle, detail: VectorL10n.spacesCreationAddRoomsMessage, selectionHeader: nil)
context = viewModel.context
}