react-native-macos 0.73.27 → 0.73.28

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.
@@ -12,6 +12,6 @@
12
12
  exports.version = {
13
13
  major: 0,
14
14
  minor: 73,
15
- patch: 27,
15
+ patch: 28,
16
16
  prerelease: null,
17
17
  };
@@ -23,7 +23,7 @@ NSDictionary* RCTGetReactNativeVersion(void)
23
23
  __rnVersion = @{
24
24
  RCTVersionMajor: @(0),
25
25
  RCTVersionMinor: @(73),
26
- RCTVersionPatch: @(27),
26
+ RCTVersionPatch: @(28),
27
27
  RCTVersionPrerelease: [NSNull null],
28
28
  };
29
29
  });
@@ -38,9 +38,8 @@
38
38
  {
39
39
  UIUserInterfaceStyle style = self.overrideUserInterfaceStyle;
40
40
  if (style == UIUserInterfaceStyleUnspecified) {
41
- style = RCTSharedApplication().delegate.window.overrideUserInterfaceStyle
42
- ? RCTSharedApplication().delegate.window.overrideUserInterfaceStyle
43
- : UIUserInterfaceStyleUnspecified;
41
+ UIUserInterfaceStyle overriddenStyle = RCTKeyWindow().overrideUserInterfaceStyle;
42
+ style = overriddenStyle ? overriddenStyle : UIUserInterfaceStyleUnspecified;
44
43
  }
45
44
 
46
45
  self.overrideUserInterfaceStyle = style;
@@ -96,7 +96,7 @@ NSString *RCTColorSchemePreference(NSAppearance *appearance)
96
96
  {
97
97
  if ((self = [super init])) {
98
98
  #if !TARGET_OS_OSX // [macOS]
99
- UITraitCollection *traitCollection = RCTSharedApplication().delegate.window.traitCollection;
99
+ UITraitCollection *traitCollection = RCTKeyWindow().traitCollection;
100
100
  _currentColorScheme = RCTColorSchemePreference(traitCollection);
101
101
  #else // [macOS
102
102
  NSAppearance *appearance = RCTSharedApplication().appearance;
@@ -1,4 +1,4 @@
1
- VERSION_NAME=0.73.27
1
+ VERSION_NAME=0.73.28
2
2
  react.internal.publishingGroup=com.facebook.react
3
3
 
4
4
  android.useAndroidX=true
@@ -17,6 +17,6 @@ public class ReactNativeVersion {
17
17
  public static final Map<String, Object> VERSION = MapBuilder.<String, Object>of(
18
18
  "major", 0,
19
19
  "minor", 73,
20
- "patch", 27,
20
+ "patch", 28,
21
21
  "prerelease", null);
22
22
  }
@@ -17,7 +17,7 @@ namespace facebook::react {
17
17
  constexpr struct {
18
18
  int32_t Major = 0;
19
19
  int32_t Minor = 73;
20
- int32_t Patch = 27;
20
+ int32_t Patch = 28;
21
21
  std::string_view Prerelease = "";
22
22
  } ReactNativeVersion;
23
23
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-macos",
3
- "version": "0.73.27",
3
+ "version": "0.73.28",
4
4
  "description": "React Native for macOS",
5
5
  "license": "MIT",
6
6
  "repository": {