Skip to content

Commit a3be3d7

Browse files
committed
sync with upstream
1 parent 9240f9b commit a3be3d7

File tree

3 files changed

+117
-63
lines changed

3 files changed

+117
-63
lines changed

packages/react-native/React/Fabric/Mounting/ComponentViews/Modal/RCTFabricModalHostViewController.mm

-2
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ - (void)loadView
4242
[_touchHandler attachToView:self.view];
4343
}
4444

45-
#if !TARGET_OS_VISION
4645
- (UIStatusBarStyle)preferredStatusBarStyle
4746
{
4847
return [RCTUIStatusBarManager() statusBarStyle];
@@ -54,7 +53,6 @@ - (void)viewDidDisappear:(BOOL)animated
5453
_lastViewBounds = CGRectZero;
5554
}
5655

57-
#if !TARGET_OS_VISION
5856
- (BOOL)prefersStatusBarHidden
5957
{
6058
return [RCTUIStatusBarManager() isStatusBarHidden];

0 commit comments

Comments
 (0)