Switch to YogaConfigFactory.create
Summary: Switch to `YogaNodeFactory.create()` instead of using `YogaNode.create()` Reviewed By: SidharthGuglani Differential Revision: D17266408 fbshipit-source-id: 69e1e59c7345d16eb174af97c2e231666a02354b
This commit is contained in:
committed by
Facebook Github Bot
parent
67a3841164
commit
d697bbe0a5
@@ -32,7 +32,7 @@ public class YGAlignBaselineTest {
|
||||
|
||||
@Test
|
||||
public void test_align_baseline_parent_using_child_in_column_as_reference() {
|
||||
YogaConfig config = new YogaConfig();
|
||||
YogaConfig config = YogaConfigFactory.create();
|
||||
|
||||
final YogaNode root = createYGNode(config, YogaFlexDirection.ROW, 1000f, 1000f, true);
|
||||
|
||||
@@ -69,7 +69,7 @@ public class YGAlignBaselineTest {
|
||||
|
||||
@Test
|
||||
public void test_align_baseline_parent_using_child_in_row_as_reference() {
|
||||
YogaConfig config = new YogaConfig();
|
||||
YogaConfig config = YogaConfigFactory.create();
|
||||
|
||||
final YogaNode root = createYGNode(config, YogaFlexDirection.ROW, 1000f, 1000f, true);
|
||||
|
||||
|
Reference in New Issue
Block a user