added the create button in the empty state of the space screen and refactored some code

This commit is contained in:
Mauro Romito
2026-01-22 17:18:12 +01:00
committed by Mauro
parent 2fdc37ce72
commit 8090c4a078
18 changed files with 96 additions and 70 deletions

View File

@@ -75,7 +75,7 @@ struct CreateRoomSpaceSelectionSheet_Previews: PreviewProvider, TestablePreview
let userSession = UserSessionMock(.init(clientProxy: clientProxy))
return CreateRoomScreenViewModel(isSpace: false,
spaceSelectionMode: .list,
spaceSelectionMode: .editableSpacesList,
shouldShowCancelButton: false,
userSession: userSession,
analytics: ServiceLocator.shared.analytics,