mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-03 16:10:20 +00:00
Remove the protocol for SpaceServiceRoom given its a struct type. (#5000)
* Remove the protocol for SpaceServiceRoom given its a struct type. * Fix a few missed mocks in the unit tests.
This commit is contained in:
@@ -31,7 +31,7 @@ struct CreateRoomScreenViewState: BindableState {
|
||||
let isKnockingFeatureEnabled: Bool
|
||||
let canSelectSpace: Bool
|
||||
var aliasLocalPart: String
|
||||
var editableSpaces: [SpaceServiceRoomProtocol] = []
|
||||
var editableSpaces: [SpaceServiceRoom] = []
|
||||
var bindings: CreateRoomScreenViewStateBindings
|
||||
var avatarMediaInfo: MediaInfo? {
|
||||
didSet {
|
||||
@@ -99,7 +99,7 @@ struct CreateRoomScreenViewState: BindableState {
|
||||
struct CreateRoomScreenViewStateBindings {
|
||||
var roomTopic: String
|
||||
var selectedAccessType: CreateRoomScreenAccessType
|
||||
var selectedSpace: SpaceServiceRoomProtocol?
|
||||
var selectedSpace: SpaceServiceRoom?
|
||||
|
||||
var showAttachmentConfirmationDialog = false
|
||||
var showSpaceSelectionSheet = false
|
||||
@@ -144,5 +144,5 @@ enum CreateRoomScreenAccessType {
|
||||
|
||||
enum CreateRoomScreenSpaceSelectionMode {
|
||||
case editableSpacesList
|
||||
case preSelected(SpaceServiceRoomProtocol)
|
||||
case preSelected(SpaceServiceRoom)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user