react-native-macos 0.75.4 → 0.75.6
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/RCTDevLoadingView.mm +3 -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/React/Base/RCTVersion.m
CHANGED
|
@@ -138,7 +138,7 @@ RCT_EXPORT_MODULE()
|
|
|
138
138
|
self->_label.font = [UIFont monospacedDigitSystemFontOfSize:12.0 weight:UIFontWeightRegular];
|
|
139
139
|
self->_label.textAlignment = NSTextAlignmentCenter;
|
|
140
140
|
#else // [macOS
|
|
141
|
-
self->_window = [[
|
|
141
|
+
self->_window = [[NSPanel alloc] initWithContentRect:NSMakeRect(0, 0, 375, 20)
|
|
142
142
|
styleMask:NSWindowStyleMaskBorderless
|
|
143
143
|
backing:NSBackingStoreBuffered
|
|
144
144
|
defer:YES];
|
|
@@ -214,6 +214,8 @@ RCT_EXPORT_METHOD(hide)
|
|
|
214
214
|
}];
|
|
215
215
|
#else // [macOS]
|
|
216
216
|
[RCTKeyWindow() endSheet:self->_window];
|
|
217
|
+
self->_window = nil;
|
|
218
|
+
self->_hiding = false;
|
|
217
219
|
#endif // macOS]
|
|
218
220
|
});
|
|
219
221
|
}
|