Skip to content
This repository has been archived by the owner on Jul 27, 2019. It is now read-only.

Commit

Permalink
Remove unused confirmExit on iOS
Browse files Browse the repository at this point in the history
  • Loading branch information
macdonst committed Aug 16, 2016
1 parent a542241 commit 8fab73e
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion src/ios/CDVImageEditor.h
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ typedef NSUInteger CDVToolType;
NSString *imageUri;
NSNumber *encodingType;
NSNumber *quality;
NSBoolean *confirmExit;
}

@property (nonatomic, retain) NSString *callbackId;
Expand Down
1 change: 0 additions & 1 deletion src/ios/CDVImageEditor.m
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ - (void)edit:(CDVInvokedUrlCommand*)command
self.encodingType = [command.arguments objectAtIndex:1];
NSMutableArray *tools = [self createToolArray:[command.arguments objectAtIndex:2]];
self.quality = [[command.arguments objectAtIndex:3] integerValue] != 100 ? [command.arguments objectAtIndex:3] : [NSNumber numberWithInt:100];
self.confirmExit = [command.arguments objectAtIndex:4];;

NSData *imageData = [NSData dataWithContentsOfURL:[NSURL URLWithString:self.imageUri]];
UIImage *image = [UIImage imageWithData:imageData];
Expand Down

0 comments on commit 8fab73e

Please sign in to comment.