mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-02 21:33:26 +00:00
Run SwiftFormat.
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user