mirror of
https://github.com/apache/cordova-plugin-camera.git
synced 2025-03-16 22:11:02 +08:00
CB-8351 Unbreak build from previous commit
This commit is contained in:
parent
4f056f0a73
commit
2a0735d551
@ -60,7 +60,7 @@ typedef NSUInteger CDVMediaType;
|
|||||||
@property (assign) BOOL usesGeolocation;
|
@property (assign) BOOL usesGeolocation;
|
||||||
@property (assign) BOOL cropToSize;
|
@property (assign) BOOL cropToSize;
|
||||||
|
|
||||||
+ (instancetype) createFromTakePictureArguments:(NSArray*)arguments;
|
+ (instancetype) createFromTakePictureArguments:(CDVInvokedUrlCommand*)command;
|
||||||
|
|
||||||
@end
|
@end
|
||||||
|
|
||||||
|
@ -38,7 +38,7 @@ static NSSet* org_apache_cordova_validArrowDirections;
|
|||||||
|
|
||||||
@implementation CDVPictureOptions
|
@implementation CDVPictureOptions
|
||||||
|
|
||||||
+ (instancetype) createFromTakePictureArguments:(NSArray*)arguments
|
+ (instancetype) createFromTakePictureArguments:(CDVInvokedUrlCommand*)command
|
||||||
{
|
{
|
||||||
CDVPictureOptions* pictureOptions = [[CDVPictureOptions alloc] init];
|
CDVPictureOptions* pictureOptions = [[CDVPictureOptions alloc] init];
|
||||||
|
|
||||||
@ -123,7 +123,7 @@ static NSSet* org_apache_cordova_validArrowDirections;
|
|||||||
|
|
||||||
[self.commandDelegate runInBackground:^{
|
[self.commandDelegate runInBackground:^{
|
||||||
|
|
||||||
CDVPictureOptions* pictureOptions = [CDVPictureOptions createFromTakePictureArguments:command.arguments];
|
CDVPictureOptions* pictureOptions = [CDVPictureOptions createFromTakePictureArguments:command];
|
||||||
pictureOptions.popoverSupported = [self popoverSupported];
|
pictureOptions.popoverSupported = [self popoverSupported];
|
||||||
pictureOptions.usesGeolocation = [self usesGeolocation];
|
pictureOptions.usesGeolocation = [self usesGeolocation];
|
||||||
pictureOptions.cropToSize = NO;
|
pictureOptions.cropToSize = NO;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user