Enable SwiftLint rule 'vertical_whitespace_closing_braces' and fix all violations
This commit is contained in:
parent
78be3dabe7
commit
c5e88d82c9
2 changed files with 1 additions and 3 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue