react-native-macos 0.75.6 → 0.75.7
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 +6 -2
- 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
|
@@ -142,10 +142,10 @@ RCT_EXPORT_MODULE()
|
|
|
142
142
|
styleMask:NSWindowStyleMaskBorderless
|
|
143
143
|
backing:NSBackingStoreBuffered
|
|
144
144
|
defer:YES];
|
|
145
|
-
self->_window.releasedWhenClosed = NO;
|
|
146
145
|
self->_window.backgroundColor = [NSColor clearColor];
|
|
147
146
|
|
|
148
147
|
NSTextField *label = [[NSTextField alloc] initWithFrame:self->_window.contentView.bounds];
|
|
148
|
+
label.font = [NSFont monospacedDigitSystemFontOfSize:12.0 weight:NSFontWeightRegular];
|
|
149
149
|
label.alignment = NSTextAlignmentCenter;
|
|
150
150
|
label.bezeled = NO;
|
|
151
151
|
label.editable = NO;
|
|
@@ -169,7 +169,11 @@ RCT_EXPORT_MODULE()
|
|
|
169
169
|
self->_label.textColor = color;
|
|
170
170
|
|
|
171
171
|
self->_label.backgroundColor = backgroundColor;
|
|
172
|
-
[RCTKeyWindow()
|
|
172
|
+
if (![[RCTKeyWindow() sheets] doesContain:self->_window]) {
|
|
173
|
+
[RCTKeyWindow() beginSheet:self->_window completionHandler:^(NSModalResponse returnCode) {
|
|
174
|
+
[self->_window orderOut:self];
|
|
175
|
+
}];
|
|
176
|
+
}
|
|
173
177
|
#endif // macOS]
|
|
174
178
|
});
|
|
175
179
|
|