cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From agri...@apache.org
Subject cordova-plugin-camera git commit: CB-8351 Unbreak build from previous commit
Date Tue, 27 Jan 2015 15:20:07 GMT
Repository: cordova-plugin-camera
Updated Branches:
  refs/heads/master 4f056f0a7 -> 2a0735d55


CB-8351 Unbreak build from previous commit


Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-camera/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-camera/commit/2a0735d5
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-camera/tree/2a0735d5
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-camera/diff/2a0735d5

Branch: refs/heads/master
Commit: 2a0735d5510e561a043d4c3ed4d4c2b0f6e1c5f8
Parents: 4f056f0
Author: Andrew Grieve <agrieve@chromium.org>
Authored: Tue Jan 27 10:19:46 2015 -0500
Committer: Andrew Grieve <agrieve@chromium.org>
Committed: Tue Jan 27 10:19:46 2015 -0500

----------------------------------------------------------------------
 src/ios/CDVCamera.h | 2 +-
 src/ios/CDVCamera.m | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-plugin-camera/blob/2a0735d5/src/ios/CDVCamera.h
----------------------------------------------------------------------
diff --git a/src/ios/CDVCamera.h b/src/ios/CDVCamera.h
index 231e9f6..f64f66c 100644
--- a/src/ios/CDVCamera.h
+++ b/src/ios/CDVCamera.h
@@ -60,7 +60,7 @@ typedef NSUInteger CDVMediaType;
 @property (assign) BOOL usesGeolocation;
 @property (assign) BOOL cropToSize;
 
-+ (instancetype) createFromTakePictureArguments:(NSArray*)arguments;
++ (instancetype) createFromTakePictureArguments:(CDVInvokedUrlCommand*)command;
 
 @end
 

http://git-wip-us.apache.org/repos/asf/cordova-plugin-camera/blob/2a0735d5/src/ios/CDVCamera.m
----------------------------------------------------------------------
diff --git a/src/ios/CDVCamera.m b/src/ios/CDVCamera.m
index b80f259..1672087 100644
--- a/src/ios/CDVCamera.m
+++ b/src/ios/CDVCamera.m
@@ -38,7 +38,7 @@ static NSSet* org_apache_cordova_validArrowDirections;
 
 @implementation CDVPictureOptions
 
-+ (instancetype) createFromTakePictureArguments:(NSArray*)arguments
++ (instancetype) createFromTakePictureArguments:(CDVInvokedUrlCommand*)command
 {
     CDVPictureOptions* pictureOptions = [[CDVPictureOptions alloc] init];
 
@@ -123,7 +123,7 @@ static NSSet* org_apache_cordova_validArrowDirections;
 
     [self.commandDelegate runInBackground:^{
         
-        CDVPictureOptions* pictureOptions = [CDVPictureOptions createFromTakePictureArguments:command.arguments];
+        CDVPictureOptions* pictureOptions = [CDVPictureOptions createFromTakePictureArguments:command];
         pictureOptions.popoverSupported = [self popoverSupported];
         pictureOptions.usesGeolocation = [self usesGeolocation];
         pictureOptions.cropToSize = NO;


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org


Mime
View raw message