Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 0 additions & 19 deletions packages/react-native/Libraries/AppDelegate/RCTAppDelegate.mm
Original file line number Diff line number Diff line change
Expand Up @@ -49,21 +49,6 @@ @interface RCTAppDelegate () <
}
@end

#if TARGET_OS_VISION
@interface GlassViewController : UIViewController

@end

@implementation GlassViewController

- (UIContainerBackgroundStyle)preferredContainerBackgroundStyle {
return UIContainerBackgroundStyleGlass;
}

@end
#endif


static NSDictionary *updateInitialProps(NSDictionary *initialProps, BOOL isFabricEnabled)
{
NSMutableDictionary *mutableProps = [initialProps mutableCopy] ?: [NSMutableDictionary new];
Expand Down Expand Up @@ -180,11 +165,7 @@ - (UIView *)createRootViewWithBridge:(RCTBridge *)bridge

- (UIViewController *)createRootViewController
{
#if TARGET_OS_VISION
return [GlassViewController new];
#else
return [UIViewController new];
#endif
}

- (void)setRootView:(UIView *)rootView toRootViewController:(UIViewController *)rootViewController
Expand Down