Minor refactor

This commit is contained in:
Lochlan Wansbrough 2015-04-02 02:49:02 -07:00
parent 20be488fa8
commit 92babe626f
1 changed files with 3 additions and 6 deletions

View File

@ -9,20 +9,17 @@
- (void)setAspect:(NSString *)aspect
{
RCTCameraManager *cameraManager = [RCTCameraManager sharedManager];
[cameraManager setAspect:aspect];
[_cameraManager setAspect:aspect];
}
- (void)setCamera:(NSInteger)camera
{
RCTCameraManager *cameraManager = [RCTCameraManager sharedManager];
[cameraManager setCamera:camera];
[_cameraManager setCamera:camera];
}
- (void)setOrientation:(NSInteger)orientation
{
RCTCameraManager *cameraManager = [RCTCameraManager sharedManager];
[cameraManager setOrientation:orientation];
[_cameraManager setOrientation:orientation];
}
- (id)init