Enable SwiftLint rule 'vertical_whitespace_closing_braces' and fix all violations

This commit is contained in:
Danny Moesch 2020-07-05 23:45:08 +02:00 committed by Mingshen Sun
parent 78be3dabe7
commit c5e88d82c9
2 changed files with 1 additions and 3 deletions

View file

@ -81,7 +81,6 @@ class QRScannerController: UIViewController, AVCaptureMetadataOutputObjectsDeleg
view.addSubview(qrCodeFrameView)
view.bringSubviewToFront(qrCodeFrameView)
}
} catch {
scannerOutput.text = error.localizedDescription
}
@ -121,7 +120,6 @@ class QRScannerController: UIViewController, AVCaptureMetadataOutputObjectsDeleg
} else {
scannerOutput.text = "NoStringValue".localize()
}
} else {
qrCodeFrameView?.frame = CGRect.zero
scannerOutput.text = "NoQrCodeDetected.".localize()