Showing
1 changed file
with
1 additions
and
1 deletions
| @@ -305,7 +305,7 @@ public class MobileScanner: NSObject, AVCaptureVideoDataOutputSampleBufferDelega | @@ -305,7 +305,7 @@ public class MobileScanner: NSObject, AVCaptureVideoDataOutputSampleBufferDelega | ||
| 305 | /// Set the zoom factor of the camera | 305 | /// Set the zoom factor of the camera |
| 306 | func setScale(_ scale: CGFloat) throws { | 306 | func setScale(_ scale: CGFloat) throws { |
| 307 | if (device == nil) { | 307 | if (device == nil) { |
| 308 | - throw MobileScannerError.torchWhenStopped | 308 | + throw MobileScannerError.zoomWhenStopped |
| 309 | } | 309 | } |
| 310 | 310 | ||
| 311 | do { | 311 | do { |
-
Please register or login to post a comment