mirror of
https://github.com/status-im/react-native.git
synced 2025-01-28 02:04:55 +00:00
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:
parent
af226078e7
commit
68a245436d
@ -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={[
|
||||
|
Loading…
x
Reference in New Issue
Block a user