Skip to content

Commit

Permalink
[MB-1724] Preserve transparency for scaled inbox icons
Browse files Browse the repository at this point in the history
  • Loading branch information
marc-scig committed Apr 6, 2016
1 parent a071fc2 commit 6d42fa8
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 6d42fa8

Please sign in to comment.