File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
litho-core/src/main/java/com/facebook/litho/config Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -378,10 +378,12 @@ public static ComponentsConfiguration.Builder create() {
378
378
return create (defaultComponentsConfiguration );
379
379
}
380
380
381
- public static ComponentsConfiguration .Builder create (
382
- ComponentsConfiguration componentsConfiguration ) {
381
+ public static ComponentsConfiguration .Builder create (ComponentsConfiguration config ) {
383
382
return new Builder ()
384
- .useCancelableLayoutFutures (componentsConfiguration .getUseCancelableLayoutFutures ());
383
+ .useCancelableLayoutFutures (config .getUseCancelableLayoutFutures ())
384
+ .resolveCancellationStrategy (config .getResolveCancellationStrategy ())
385
+ .isLayoutCancellationEnabled (config .isLayoutCancellationEnabled ())
386
+ .isLegacyRenderEnabled (config .isLegacyRenderEnabled ());
385
387
}
386
388
387
389
public static class Builder {
You can’t perform that action at this time.
0 commit comments