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