Skip to content

Commit

Permalink
Minor improvement
Browse files Browse the repository at this point in the history
  • Loading branch information
qalandarov committed Feb 23, 2024
1 parent 11dd17b commit 24ffca4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Sources/CodeScanner/ScannerViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import UIKit
@available(macCatalyst 14.0, *)
extension CodeScannerView {

public class ScannerViewController: UIViewController, UINavigationControllerDelegate {
public final class ScannerViewController: UIViewController, UINavigationControllerDelegate {
private let photoOutput = AVCapturePhotoOutput()
private var isCapturing = false
private var handler: ((UIImage?) -> Void)?
Expand Down Expand Up @@ -174,7 +174,7 @@ extension CodeScannerView {
}

private func setupSession() {
guard let captureSession = captureSession else {
guard let captureSession else {
return
}

Expand Down

0 comments on commit 24ffca4

Please sign in to comment.