File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
packages/react-native/React/CoreModules Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -122,7 +122,7 @@ - (void)showMessage:(NSString *)message color:(RCTUIColor *)color backgroundColo
122122 }
123123
124124 self->_showDate = [NSDate date ];
125-
125+
126126#if !TARGET_OS_OSX // [macOS]
127127 UIWindow *mainWindow = RCTKeyWindow ();
128128 self->_window = [[UIWindow alloc ] initWithWindowScene: mainWindow.windowScene];
@@ -150,7 +150,7 @@ - (void)showMessage:(NSString *)message color:(RCTUIColor *)color backgroundColo
150150 self->_window .hidden = NO ;
151151
152152 [self ->_window layoutIfNeeded ];
153-
153+
154154 [NSLayoutConstraint activateConstraints: @[
155155 // Container constraints
156156 [self ->_container.topAnchor constraintEqualToAnchor: self ->_window.rootViewController.view.topAnchor],
You can’t perform that action at this time.
0 commit comments