mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-01 18:06:41 +00:00
Run SwiftFormat.
This commit is contained in:
+2
-2
@@ -23,7 +23,7 @@ final class TemplateScreenCoordinator: CoordinatorProtocol {
|
||||
private let viewModel: TemplateScreenViewModelProtocol
|
||||
|
||||
private var cancellables = Set<AnyCancellable>()
|
||||
|
||||
|
||||
private let actionsSubject: PassthroughSubject<TemplateScreenCoordinatorAction, Never> = .init()
|
||||
var actionsPublisher: AnyPublisher<TemplateScreenCoordinatorAction, Never> {
|
||||
actionsSubject.eraseToAnyPublisher()
|
||||
@@ -47,7 +47,7 @@ final class TemplateScreenCoordinator: CoordinatorProtocol {
|
||||
}
|
||||
.store(in: &cancellables)
|
||||
}
|
||||
|
||||
|
||||
func toPresentable() -> AnyView {
|
||||
AnyView(TemplateScreen(context: viewModel.context))
|
||||
}
|
||||
|
||||
@@ -15,7 +15,7 @@ class TemplateScreenViewModel: TemplateScreenViewModelType, TemplateScreenViewMo
|
||||
var actionsPublisher: AnyPublisher<TemplateScreenViewModelAction, Never> {
|
||||
actionsSubject.eraseToAnyPublisher()
|
||||
}
|
||||
|
||||
|
||||
init() {
|
||||
super.init(initialViewState: TemplateScreenViewState(title: "Template title",
|
||||
placeholder: "Enter something here",
|
||||
|
||||
Reference in New Issue
Block a user