react-native-macos 0.71.1 → 0.71.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Libraries/Core/ReactNativeVersion.js +1 -1
- package/Libraries/Image/RCTImageView.mm +22 -0
- package/React/Base/RCTVersion.m +1 -1
- package/ReactAndroid/gradle.properties +1 -1
- package/ReactAndroid/src/main/java/com/facebook/react/modules/systeminfo/ReactNativeVersion.java +1 -1
- package/ReactCommon/cxxreact/ReactNativeVersion.h +1 -1
- package/package.json +1 -1
- package/template/package.json +1 -1
|
@@ -653,6 +653,28 @@ RCT_NOT_IMPLEMENTED(-(instancetype)initWithFrame : (CGRect)frame)
|
|
|
653
653
|
[self reloadImage];
|
|
654
654
|
}
|
|
655
655
|
}
|
|
656
|
+
|
|
657
|
+
#if TARGET_OS_OSX // [macOS
|
|
658
|
+
- (void)windowDidChangeBackingProperties:(NSNotification *)notification
|
|
659
|
+
{
|
|
660
|
+
[self reloadImage];
|
|
661
|
+
}
|
|
662
|
+
|
|
663
|
+
- (RCTPlatformView *)reactAccessibilityElement
|
|
664
|
+
{
|
|
665
|
+
return _imageView;
|
|
666
|
+
}
|
|
667
|
+
|
|
668
|
+
- (NSColor *)tintColor
|
|
669
|
+
{
|
|
670
|
+
return _imageView.contentTintColor;
|
|
671
|
+
}
|
|
672
|
+
|
|
673
|
+
- (void)setTintColor:(NSColor *)tintColor
|
|
674
|
+
{
|
|
675
|
+
_imageView.contentTintColor = tintColor;
|
|
676
|
+
}
|
|
677
|
+
#endif // macOS]
|
|
656
678
|
|
|
657
679
|
- (void)dealloc
|
|
658
680
|
{
|
package/React/Base/RCTVersion.m
CHANGED
package/package.json
CHANGED