Run SwiftFormat.

This commit is contained in:
Doug
2026-05-27 14:38:50 +01:00
committed by Doug
parent 5138e05e47
commit fa67713726
573 changed files with 2426 additions and 2426 deletions
@@ -69,7 +69,7 @@ final class BugReportScreenCoordinator: CoordinatorProtocol {
}
.store(in: &cancellables)
}
func stop() {
stopLoading()
}
@@ -20,7 +20,7 @@ class BugReportScreenViewModel: BugReportScreenViewModelType, BugReportScreenVie
private let actionsSubject: PassthroughSubject<BugReportScreenViewModelAction, Never> = .init()
// periphery:ignore - when set to nil this is automatically cancelled
@CancellableTask private var uploadTask: Task<Void, Never>?
var actions: AnyPublisher<BugReportScreenViewModelAction, Never> {
actionsSubject.eraseToAnyPublisher()
}
@@ -79,7 +79,7 @@ class BugReportScreenViewModel: BugReportScreenViewModelType, BugReportScreenVie
}
return true
}
private func submitBugReport() async {
let progressSubject = CurrentValueSubject<Double, Never>(0.0)
@@ -18,7 +18,7 @@ struct BugReportScreen: View {
var canSendLogFiles: Bool {
context.viewState.canSendLogFiles
}
var photosPickerTitle: String {
context.viewState.screenshot == nil ? L10n.screenBugReportAttachScreenshot : L10n.screenBugReportEditScreenshot
}
@@ -82,7 +82,7 @@ struct BugReportScreen: View {
}
}
}
private var canContactSection: some View {
Section {
ListRow(label: .plain(title: L10n.screenBugReportContactMeTitle),
@@ -93,7 +93,7 @@ struct BugReportScreen: View {
.compoundListSectionFooter()
}
}
private var attachScreenshotSection: some View {
Section {
ListRow(kind: .custom {