Skip to content

Commit 47b46e2

Browse files
authored
[0.73-stable] Fix imageview tintcolor (#1998)
* Fix broken tint color for ImageView * Bring back tintColor getter
1 parent bba6582 commit 47b46e2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/react-native/Libraries/Image/RCTImageView.mm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -636,12 +636,12 @@ - (RCTPlatformView *)reactAccessibilityElement
636636

637637
- (NSColor *)tintColor
638638
{
639-
return _imageView.contentTintColor;
639+
return _imageView.tintColor;
640640
}
641641

642642
- (void)setTintColor:(NSColor *)tintColor
643643
{
644-
_imageView.contentTintColor = tintColor;
644+
[_imageView setTintColor:tintColor];
645645
}
646646
#endif // macOS]
647647

0 commit comments

Comments
 (0)