Skip to content

Commit 32d6715

Browse files
authored
Merge pull request #76 from odariusgeorge/fix/dismiss_image-picker-controller
2 parents f5ee9a5 + 93575fc commit 32d6715

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Sources/CodeScanner/ScannerViewController.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ extension CodeScannerView {
7676

7777
public func imagePickerControllerDidCancel(_ picker: UIImagePickerController) {
7878
isGalleryShowing = false
79+
dismiss(animated: true, completion: nil)
7980
}
8081

8182
#if targetEnvironment(simulator)

0 commit comments

Comments
 (0)