fix(ios): add missing semicolon in RNCamera.m (#2823)

This commit is contained in:
Jose G 2020-05-05 22:36:24 +02:00 committed by GitHub
parent 611fd9e5d1
commit a5b55fa608
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -114,7 +114,7 @@ BOOL _sessionInterrupted = NO;
return;
}
NSError *error = nil;
float maxZoom = [self getMaxZoomFactor:device]
float maxZoom = [self getMaxZoomFactor:device];
if ([device lockForConfiguration:&error]) {
CGFloat desiredZoomFactor = device.videoZoomFactor + atan2f(pinchRecognizer.velocity, pinchVelocityDividerFactor);
// Check if desiredZoomFactor fits required range from 1.0 to activeFormat.videoMaxZoomFactor