Skip to content

Commit

Permalink
Merge pull request initialxy#65 from jrunkel/ios-fix-density
Browse files Browse the repository at this point in the history
ios: remove hardcoded density value and add correct param
  • Loading branch information
sencenan authored Jul 29, 2016
2 parents dc3e5bd + a149df1 commit faefc75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ios/CDVThemeableBrowser.m
Original file line number Diff line number Diff line change
Expand Up @@ -915,7 +915,7 @@ - (UIImage*) getImage:(NSString*) name altPath:(NSString*) altPath altDensity:(C
altDensity = 1.0;
}
NSData* data = [NSData dataWithContentsOfFile:path];
result = [UIImage imageWithData:data scale:3.0];
result = [UIImage imageWithData:data scale:altDensity];
}

return result;
Expand Down

0 comments on commit faefc75

Please sign in to comment.