mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-02 12:07:55 +00:00
Run SwiftFormat.
This commit is contained in:
@@ -49,7 +49,7 @@ final class ThreadTimelineScreenCoordinator: CoordinatorProtocol {
|
||||
private var composerViewModel: ComposerToolbarViewModelProtocol
|
||||
|
||||
private var cancellables = Set<AnyCancellable>()
|
||||
|
||||
|
||||
private let actionsSubject: PassthroughSubject<ThreadTimelineScreenCoordinatorAction, Never> = .init()
|
||||
var actions: AnyPublisher<ThreadTimelineScreenCoordinatorAction, Never> {
|
||||
actionsSubject.eraseToAnyPublisher()
|
||||
@@ -153,7 +153,7 @@ final class ThreadTimelineScreenCoordinator: CoordinatorProtocol {
|
||||
composerViewModel.actions
|
||||
.sink { [weak self] action in
|
||||
guard let self else { return }
|
||||
|
||||
|
||||
timelineViewModel.process(composerAction: action)
|
||||
}
|
||||
.store(in: &cancellables)
|
||||
@@ -167,7 +167,7 @@ final class ThreadTimelineScreenCoordinator: CoordinatorProtocol {
|
||||
composerViewModel.stop()
|
||||
viewModel.stop()
|
||||
}
|
||||
|
||||
|
||||
func toPresentable() -> AnyView {
|
||||
let composerToolbar = ComposerToolbar(context: composerViewModel.context)
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@ struct ThreadTimelineScreen: View {
|
||||
self.timelineContext = timelineContext
|
||||
self.composerToolbar = composerToolbar
|
||||
}
|
||||
|
||||
|
||||
var body: some View {
|
||||
TimelineView(timelineContext: timelineContext)
|
||||
.background(.compound.bgCanvasDefault)
|
||||
|
||||
Reference in New Issue
Block a user