Skip to content

Commit

Permalink
bug in the headers command argument
Browse files Browse the repository at this point in the history
  • Loading branch information
smelzer committed Jan 2, 2019
1 parent c5e5c2f commit 6c46995
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ios/PhotoViewer.m
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ - (void)show:(CDVInvokedUrlCommand*)command
BOOL isShareEnabled = [[command.arguments objectAtIndex:2] boolValue];
showCloseBtn = [[command.arguments objectAtIndex:3] boolValue];
copyToReference = [[command.arguments objectAtIndex:4] boolValue];
headers = [self headers:[command objectAtIndex:5]];
headers = [self headers:[command.arguments objectAtIndex:5]];

if ([url rangeOfString:@"http"].location == 0) {
copyToReference = true;
Expand Down

0 comments on commit 6c46995

Please # to comment.