Skip to content
This repository has been archived by the owner on Aug 11, 2020. It is now read-only.

Commit

Permalink
Crash fix
Browse files Browse the repository at this point in the history
  • Loading branch information
aserraric authored and timkim committed Aug 15, 2016
1 parent 3cf975b commit 7841f6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ios/CDVBarcodeScanner.mm
Original file line number Diff line number Diff line change
Expand Up @@ -407,7 +407,7 @@ - (void)barcodeScanCancelled {
- (void)flipCamera {
self.isFlipped = YES;
self.isFrontCamera = !self.isFrontCamera;
[self barcodeScanDone];
[self barcodeScanDone:^{}];
if (self.isFlipped) {
self.isFlipped = NO;
}
Expand Down

0 comments on commit 7841f6d

Please sign in to comment.