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

Commit

Permalink
Merge pull request #343 from cepm-nate/master
Browse files Browse the repository at this point in the history
Disable Animation
  • Loading branch information
EddyVerbruggen committed Dec 3, 2016
2 parents 10f94bc + d65a734 commit 77622ca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ios/CDVBarcodeScanner.mm
Original file line number Diff line number Diff line change
Expand Up @@ -344,15 +344,15 @@ - (void)scanBarcode {
- (void)openDialog {
[self.parentViewController
presentViewController:self.viewController
animated:YES completion:nil
animated:NO completion:nil
];
}

//--------------------------------------------------------------------------
- (void)barcodeScanDone:(void (^)(void))callbackBlock {
self.capturing = NO;
[self.captureSession stopRunning];
[self.parentViewController dismissViewControllerAnimated:YES completion:callbackBlock];
[self.parentViewController dismissViewControllerAnimated:NO completion:callbackBlock];

// viewcontroller holding onto a reference to us, release them so they
// will release us
Expand Down

0 comments on commit 77622ca

Please sign in to comment.