Skip to content

Commit

Permalink
Fix broken tint color for ImageView
Browse files Browse the repository at this point in the history
  • Loading branch information
shwanton committed Dec 16, 2023
1 parent 164469a commit 2fa2d88
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions packages/react-native/Libraries/Image/RCTImageView.mm
Original file line number Diff line number Diff line change
Expand Up @@ -634,14 +634,9 @@ - (RCTPlatformView *)reactAccessibilityElement
return _imageView;
}

- (NSColor *)tintColor
{
return _imageView.contentTintColor;
}

- (void)setTintColor:(NSColor *)tintColor
{
_imageView.contentTintColor = tintColor;
_imageView.tintColor = tintColor;
}
#endif // macOS]

Expand Down

0 comments on commit 2fa2d88

Please sign in to comment.