mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-03 16:10:20 +00:00
added the create button in the empty state of the space screen and refactored some code
This commit is contained in:
@@ -42,9 +42,9 @@ class CreateRoomScreenViewModel: CreateRoomScreenViewModelType, CreateRoomScreen
|
||||
var selectedSpace: SpaceServiceRoomProtocol?
|
||||
var canSelectSpace = false
|
||||
switch spaceSelectionMode {
|
||||
case .list:
|
||||
case .editableSpacesList:
|
||||
canSelectSpace = true
|
||||
case .selected(let value):
|
||||
case .preSelected(let value):
|
||||
selectedSpace = value
|
||||
case .none:
|
||||
break
|
||||
|
||||
Reference in New Issue
Block a user