Skip to content

Commit

Permalink
chore(ios): remove redundant code
Browse files Browse the repository at this point in the history
  • Loading branch information
Gary Mathews committed Feb 3, 2020
1 parent d8bd80c commit 15e62e6
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions ios/Classes/TiBarcodeViewController.m
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* Ti.Barcode Module
* Copyright (c) 2010-2018 by Appcelerator, Inc. All Rights Reserved.
* Copyright (c) 2010-2020 by Axway, Inc. All Rights Reserved.
* Please see the LICENSE included with this distribution for details.
*/

Expand Down Expand Up @@ -41,10 +41,6 @@ - (instancetype)initWithDelegate:(id<TiOverlayViewDelegate>)delegate
object:nil];
if (_showRectangle) {
CGRect rect = _overlayView.cropRect;
// __weak TiBarcodeViewController *weakSelf = self;
// [_scanner setDidStartScanningBlock:^(void) {
// [[weakSelf scanner] setScanRect:rect];
// }];
}
}
return self;
Expand Down Expand Up @@ -106,7 +102,6 @@ - (void)handleDeviceRotation:(NSNotification *)notification
{
if (_showRectangle) {
CGRect rect = _overlayView.cropRect;
// [_scanner setScanRect:rect];
}
}

Expand Down

0 comments on commit 15e62e6

Please sign in to comment.