Skip to content

Commit 24ffca4

Browse files
committed
Minor improvement
1 parent 11dd17b commit 24ffca4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Sources/CodeScanner/ScannerViewController.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import UIKit
1212
@available(macCatalyst 14.0, *)
1313
extension CodeScannerView {
1414

15-
public class ScannerViewController: UIViewController, UINavigationControllerDelegate {
15+
public final class ScannerViewController: UIViewController, UINavigationControllerDelegate {
1616
private let photoOutput = AVCapturePhotoOutput()
1717
private var isCapturing = false
1818
private var handler: ((UIImage?) -> Void)?
@@ -174,7 +174,7 @@ extension CodeScannerView {
174174
}
175175

176176
private func setupSession() {
177-
guard let captureSession = captureSession else {
177+
guard let captureSession else {
178178
return
179179
}
180180

0 commit comments

Comments
 (0)