Skip to content

Commit

Permalink
fix(ios): tab group icons are tinted wrong on iOS 12 and older
Browse files Browse the repository at this point in the history
Fixes TIMOB-28551
  • Loading branch information
jquick-axway authored and ewanharris committed Nov 17, 2021
1 parent 6fae767 commit 8d29f63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion iphone/TitaniumKit/TitaniumKit/Sources/API/TiUtils.m
Original file line number Diff line number Diff line change
Expand Up @@ -809,7 +809,7 @@ + (UIImage *)imageWithTint:(UIImage *)image tintColor:(UIColor *)tintColor
UIImage *tintedImage = UIGraphicsGetImageFromCurrentImageContext();
UIGraphicsEndImageContext();

return tintedImage;
return [tintedImage imageWithRenderingMode:UIImageRenderingModeAlwaysOriginal];
}

+ (NSURL *)checkFor2XImage:(NSURL *)url
Expand Down

0 comments on commit 8d29f63

Please sign in to comment.