Enable blank line rules. (#132)

This commit is contained in:
Doug
2022-07-06 16:01:50 +01:00
committed by GitHub
parent 02eb4b35e2
commit 25d7ba55ad
114 changed files with 0 additions and 184 deletions
@@ -213,7 +213,6 @@ class BugReportService: BugReportServiceProtocol {
return zippedFiles
}
}
private extension Data {
@@ -14,7 +14,6 @@ struct SubmitBugReportResponse: Decodable {
}
protocol BugReportServiceProtocol {
var crashedLastRun: Bool { get }
func crash()
@@ -10,7 +10,6 @@ import Foundation
import UIKit
class MockBugReportService: BugReportServiceProtocol {
func submitBugReport(text: String,
includeLogs: Bool,
includeCrashLog: Bool,
@@ -24,5 +23,4 @@ class MockBugReportService: BugReportServiceProtocol {
func crash() {
// no-op
}
}
@@ -17,7 +17,6 @@ enum ScreenshotDetectorError: String, Error {
@MainActor
class ScreenshotDetector {
var callback: (@MainActor(UIImage?, Error?) -> Void)?
/// Flag to whether ask for photos authorization by default if needed.
@@ -80,11 +79,9 @@ class ScreenshotDetector {
func fail(withError error: Error) {
callback?(nil, error)
}
}
private extension PHAsset {
static func fetchLastScreenshot() -> PHAsset? {
let options = PHFetchOptions()
@@ -99,7 +96,6 @@ private extension PHAsset {
}
private extension PHImageRequestOptions {
static var highQualitySyncLocal: PHImageRequestOptions {
let options = PHImageRequestOptions()
options.deliveryMode = .highQualityFormat