Commit 3929d9ee authored by cepm-nate's avatar cepm-nate Committed by GitHub

Disable openDialog barcodeScanDone animations

From @yieme
parent df54d51c
......@@ -344,7 +344,7 @@ parentViewController:(UIViewController*)parentViewController
- (void)openDialog {
[self.parentViewController
presentViewController:self.viewController
animated:YES completion:nil
animated:NO completion:nil
];
}
......@@ -352,7 +352,7 @@ parentViewController:(UIViewController*)parentViewController
- (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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment