Skip to content

Commit 718824a

Browse files
committed
Make AVCaptureDevice#setRecommendedZoomFactor(forMinimumCodeSize:) non-private
1 parent 9cc6ae4 commit 718824a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/CodeScanner/AVCaptureDevice+bestForBuiltInCamera.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ extension AVCaptureDevice {
2626
}
2727

2828
@available(iOS 15.0, *)
29-
private func setRecommendedZoomFactor(forMinimumCodeSize minimumCodeSize: Float) {
29+
func setRecommendedZoomFactor(forMinimumCodeSize minimumCodeSize: Float) {
3030
/*
3131
Optimize the user experience for scanning QR codes down to given size.
3232
When scanning a QR code of that size, the user may need to get closer than

0 commit comments

Comments
 (0)