Showing
1 changed file
with
2 additions
and
2 deletions
| @@ -294,10 +294,10 @@ public class MobileScanner: NSObject, AVCaptureVideoDataOutputSampleBufferDelega | @@ -294,10 +294,10 @@ public class MobileScanner: NSObject, AVCaptureVideoDataOutputSampleBufferDelega | ||
| 294 | 294 | ||
| 295 | } | 295 | } |
| 296 | 296 | ||
| 297 | - /// Set the zoom factor of the camera | 297 | + /// Reset the zoom factor of the camera |
| 298 | func resetScale() throws { | 298 | func resetScale() throws { |
| 299 | if (device == nil) { | 299 | if (device == nil) { |
| 300 | - throw MobileScannerError.torchWhenStopped | 300 | + throw MobileScannerError.zoomWhenStopped |
| 301 | } | 301 | } |
| 302 | 302 | ||
| 303 | do { | 303 | do { |
-
Please register or login to post a comment