From ef3d8b23c35246d4e088d532c41723e06b688f1b Mon Sep 17 00:00:00 2001 From: Ziqi Chen Date: Tue, 10 Jul 2018 11:14:51 -0700 Subject: [PATCH] Unreverting Marketplace change for Inverted Color Ignorance Summary: Un-reverted Diff D8528543 Context: Diff itself is the exact same as the old one. There's actually nothing wrong with this diff, it was originally reverted because of iOS compatibility issue on exposing `accessibilityIgnoresInvertcolors` API to javascript, which has now been handled and fixed in this D8599698. This means I can now set the property `accessibilityIgnoresInvertColors` -------------------------- Added Smart Inversion Compatibility to Marketplace on iOS so that photos don't appear inverted Added Property to View for Ignoring Color Inversion Applied Property to Images on marketplace. **Note: Android doesn't support smart inversion Reviewed By: PeteTheHeat Differential Revision: D8737594 fbshipit-source-id: 86080d45dec773ede4d3828fcda8870f546df691 --- Libraries/Image/ImageBackground.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Libraries/Image/ImageBackground.js b/Libraries/Image/ImageBackground.js index 7b86d9c5f..a128880a1 100644 --- a/Libraries/Image/ImageBackground.js +++ b/Libraries/Image/ImageBackground.js @@ -60,7 +60,10 @@ class ImageBackground extends React.Component<$FlowFixMeProps> { const {children, style, imageStyle, imageRef, ...props} = this.props; return ( - +