mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-21 09:02:44 +02:00
Configured and applied SwiftFormat
This commit is contained in:
committed by
Stefan Ceriu
parent
ff2e6ddfa7
commit
43c28d23b7
+1
-1
@@ -18,6 +18,6 @@ import SwiftUI
|
||||
|
||||
class SpaceCreationMatrixItemChooserViewProvider: MatrixItemChooserCoordinatorViewProvider {
|
||||
func view(with viewModel: MatrixItemChooserViewModelType.Context) -> AnyView {
|
||||
return AnyView(SpaceCreationMatrixItemChooser(viewModel: viewModel))
|
||||
AnyView(SpaceCreationMatrixItemChooser(viewModel: viewModel))
|
||||
}
|
||||
}
|
||||
|
||||
+2
-4
@@ -17,7 +17,6 @@
|
||||
import Foundation
|
||||
|
||||
class SpaceCreationAddRoomsItemsProcessor: MatrixItemChooserProcessorProtocol {
|
||||
|
||||
// MARK: Private
|
||||
|
||||
private let creationParams: SpaceCreationParameters
|
||||
@@ -41,8 +40,7 @@ class SpaceCreationAddRoomsItemsProcessor: MatrixItemChooserProcessorProtocol {
|
||||
completion(.success(()))
|
||||
}
|
||||
|
||||
func isItemIncluded(_ item: (MatrixListItemData)) -> Bool {
|
||||
return true
|
||||
func isItemIncluded(_ item: MatrixListItemData) -> Bool {
|
||||
true
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
+2
-4
@@ -17,7 +17,6 @@
|
||||
import Foundation
|
||||
|
||||
class SpaceCreationInviteUsersItemsProcessor: MatrixItemChooserProcessorProtocol {
|
||||
|
||||
// MARK: Private
|
||||
|
||||
private let creationParams: SpaceCreationParameters
|
||||
@@ -42,8 +41,7 @@ class SpaceCreationInviteUsersItemsProcessor: MatrixItemChooserProcessorProtocol
|
||||
completion(.success(()))
|
||||
}
|
||||
|
||||
func isItemIncluded(_ item: (MatrixListItemData)) -> Bool {
|
||||
return true
|
||||
func isItemIncluded(_ item: MatrixListItemData) -> Bool {
|
||||
true
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
-2
@@ -17,7 +17,6 @@
|
||||
import SwiftUI
|
||||
|
||||
struct SpaceCreationMatrixItemChooser: View {
|
||||
|
||||
// MARK: Properties
|
||||
|
||||
@ObservedObject var viewModel: MatrixItemChooserViewModel.Context
|
||||
@@ -52,7 +51,6 @@ struct SpaceCreationMatrixItemChooser: View {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ViewBuilder
|
||||
private var footerView: some View {
|
||||
ThemableButton(icon: nil, title: viewModel.viewState.selectedItemIds.isEmpty ? VectorL10n.skip : VectorL10n.next) {
|
||||
|
||||
Reference in New Issue
Block a user