Skip to content

Commit

Permalink
Merge pull request #989 from urbanairship/MB-1724
Browse files Browse the repository at this point in the history
[MB-1724] Preserve transparency for scaled inbox icons
  • Loading branch information
rlepinski committed Apr 6, 2016
2 parents a071fc2 + 6d42fa8 commit c27ab67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Airship/Common/UADefaultMessageCenterListViewController.m
Expand Up @@ -745,7 +745,7 @@ - (UIImage *)scaleImage:(UIImage *)source toSize:(CGSize)size {
// Note: passing 0.0 causes the function below to use the scale factor of the main screen
CGFloat transformScaleFactor = 0.0;

UIGraphicsBeginImageContextWithOptions(transformSize, YES, transformScaleFactor);
UIGraphicsBeginImageContextWithOptions(transformSize, NO, transformScaleFactor);

CGContextRef context = UIGraphicsGetCurrentContext();
CGContextSetInterpolationQuality(context, kCGInterpolationHigh);
Expand Down

0 comments on commit c27ab67

Please sign in to comment.