Added Ignore color inversion prop to components in marketplace

Summary:
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: D8528543

fbshipit-source-id: 63caf592bc71e6fe9db7e70c72b56d32873be048
This commit is contained in:
Ziqi Chen 2018-06-21 16:35:24 -07:00 committed by Facebook Github Bot
parent af226078e7
commit 68a245436d

View File

@ -60,7 +60,10 @@ class ImageBackground extends React.Component<$FlowFixMeProps> {
const {children, style, imageStyle, imageRef, ...props} = this.props;
return (
<View style={style} ref={this._captureRef}>
<View
accessibilityIgnoresInvertColors={true}
style={style}
ref={this._captureRef}>
<Image
{...props}
style={[