mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Migrate remaining call sites to CKOverlayLayoutComponent to Builder
Summary: Ditto Changelog: [Internal] Reviewed By: aCorrado Differential Revision: D24395872 fbshipit-source-id: 38260ed7ce154036d8e40493cfe81506cf3054e8
This commit is contained in:
committed by
Facebook GitHub Bot
parent
ca4bac5534
commit
403d6f4401
@@ -58,8 +58,10 @@
|
||||
if (options.activityIndicatorComponentFactory == nil || RCTSurfaceStageIsRunning(state.surface.stage)) {
|
||||
component = surfaceHostingComponent;
|
||||
} else {
|
||||
component = [CKOverlayLayoutComponent newWithComponent:surfaceHostingComponent
|
||||
overlay:options.activityIndicatorComponentFactory()];
|
||||
component = CK::OverlayLayoutComponentBuilder()
|
||||
.component(surfaceHostingComponent)
|
||||
.overlay(options.activityIndicatorComponentFactory())
|
||||
.build();
|
||||
}
|
||||
|
||||
return [super newWithComponent:component];
|
||||
|
||||
Reference in New Issue
Block a user