File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
packages/react-native/Libraries/AppDelegate Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -121,14 +121,16 @@ - (UIView *)viewWithModuleName:(NSString *)moduleName initialProperties:(NSDicti
121121
122122 [self createReactHost ];
123123 [RCTComponentViewFactory currentComponentViewFactory ].thirdPartyFabricComponentsProvider = self;
124- RCTFabricSurface *surface = [_reactHost createSurfaceWithModuleName: self . moduleName initialProperties: initProps];
124+ RCTFabricSurface *surface = [_reactHost createSurfaceWithModuleName: moduleName initialProperties: initProps];
125125
126126 RCTSurfaceHostingProxyRootView *surfaceHostingProxyRootView = [[RCTSurfaceHostingProxyRootView alloc ]
127127 initWithSurface: surface
128128 sizeMeasureMode: RCTSurfaceSizeMeasureModeWidthExact | RCTSurfaceSizeMeasureModeHeightExact];
129129
130130 rootView = (RCTRootView *)surfaceHostingProxyRootView;
131131 rootView.backgroundColor = [UIColor systemBackgroundColor ];
132+ [self customizeRootView: (RCTRootView *)rootView];
133+ return rootView;
132134 }
133135 if (!self.bridge ) {
134136 self.bridge = [self createBridgeWithDelegate: self launchOptions: launchOptions];
You can’t perform that action at this time.
0 commit comments