Skip to content

Commit

Permalink
fix camera bug on ios
Browse files Browse the repository at this point in the history
  • Loading branch information
parveshneedhoo committed Apr 12, 2024
1 parent df81319 commit 716451e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/ios/CameraSessionManager.m
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,7 @@ - (void)switchCameraTo:(NSString*)cameraMode completion:(void (^)(BOOL success))
orientation = [self getCurrentOrientation];
});
[self updateOrientation:orientation];
self.device = ultraWideCamera;
cameraSwitched = TRUE;
} else {
NSLog(@"Failed to add ultra-wide input to session");
Expand Down

0 comments on commit 716451e

Please sign in to comment.