Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
EddyVerbruggen authored and eddyverbruggen committed Feb 4, 2017
1 parent d631fc1 commit 3c6aae3
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion barcodescanner.ios.ts
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,6 @@ export class BarcodeScanner {
});
self._scanner.delegate = delegate;

// restrict scanning range for better speed: https://github.com/EddyVerbruggen/nativescript-barcodescanner/issues/48
let device = AVCaptureDevice.defaultDeviceWithMediaType(AVMediaTypeVideo);
if (device.autoFocusRangeRestrictionSupported) {
device.lockForConfiguration();
Expand Down

0 comments on commit 3c6aae3

Please sign in to comment.