react-native-macos 0.73.29 → 0.73.30
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/React/Base/RCTVersion.m +1 -1
- package/React/CoreModules/RCTDeviceInfo.mm +4 -4
- 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/React/Base/RCTVersion.m
CHANGED
|
@@ -98,6 +98,9 @@ RCT_EXPORT_MODULE()
|
|
|
98
98
|
|
|
99
99
|
- (void)invalidate
|
|
100
100
|
{
|
|
101
|
+
if (_invalidated) {
|
|
102
|
+
return;
|
|
103
|
+
}
|
|
101
104
|
_invalidated = YES;
|
|
102
105
|
[self _cleanupObservers];
|
|
103
106
|
}
|
|
@@ -120,10 +123,7 @@ RCT_EXPORT_MODULE()
|
|
|
120
123
|
|
|
121
124
|
[[NSNotificationCenter defaultCenter] removeObserver:self name:RCTWindowFrameDidChangeNotification object:nil];
|
|
122
125
|
|
|
123
|
-
[[NSNotificationCenter defaultCenter]
|
|
124
|
-
selector:@selector(invalidate)
|
|
125
|
-
name:RCTBridgeWillInvalidateModulesNotification
|
|
126
|
-
object:nil];
|
|
126
|
+
[[NSNotificationCenter defaultCenter] removeObserver:self name:RCTBridgeWillInvalidateModulesNotification object:nil];
|
|
127
127
|
}
|
|
128
128
|
|
|
129
129
|
static BOOL RCTIsIPhoneNotched()
|