Skip to content

Commit

Permalink
refactor: fix Colons should be next to the identifier warning
Browse files Browse the repository at this point in the history
  • Loading branch information
jurajhilje committed Sep 30, 2020
1 parent 08025a5 commit 2aa2999
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ class ScannerViewController: UIViewController, AVCaptureMetadataOutputObjectsDel
}

private func allowCameraAccessViaSetting() {
showActionAlert(title: "Allow Camera", message: "Camera access is required to scan QR code", action: "Open Settings", actionHandler: { _ in
showActionAlert(title: "Allow Camera", message: "Camera access is required to scan QR code", action: "Open Settings", actionHandler: { _ in
if let url = URL(string: UIApplication.openSettingsURLString) {
UIApplication.shared.open(url)
}
Expand Down

0 comments on commit 2aa2999

Please sign in to comment.