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
121
121
122
122
[self createReactHost ];
123
123
[RCTComponentViewFactory currentComponentViewFactory ].thirdPartyFabricComponentsProvider = self;
124
- RCTFabricSurface *surface = [_reactHost createSurfaceWithModuleName: self . moduleName initialProperties: initProps];
124
+ RCTFabricSurface *surface = [_reactHost createSurfaceWithModuleName: moduleName initialProperties: initProps];
125
125
126
126
RCTSurfaceHostingProxyRootView *surfaceHostingProxyRootView = [[RCTSurfaceHostingProxyRootView alloc ]
127
127
initWithSurface: surface
128
128
sizeMeasureMode: RCTSurfaceSizeMeasureModeWidthExact | RCTSurfaceSizeMeasureModeHeightExact];
129
129
130
130
rootView = (RCTRootView *)surfaceHostingProxyRootView;
131
131
rootView.backgroundColor = [UIColor systemBackgroundColor ];
132
+ [self customizeRootView: (RCTRootView *)rootView];
133
+ return rootView;
132
134
}
133
135
if (!self.bridge ) {
134
136
self.bridge = [self createBridgeWithDelegate: self launchOptions: launchOptions];
You can’t perform that action at this time.
0 commit comments