mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Yoga test failure for flexing with min stack dimension
Reviewed By: emilsjolander Differential Revision: D4558653 fbshipit-source-id: 06b38d7ed43aee063cc881f38b84558641f043f3
This commit is contained in:
committed by
Facebook Github Bot
parent
761d528153
commit
1209b39492
@@ -14,7 +14,8 @@ import com.facebook.proguard.annotations.DoNotStrip;
|
||||
@DoNotStrip
|
||||
public enum YogaExperimentalFeature {
|
||||
ROUNDING(0),
|
||||
WEB_FLEX_BASIS(1);
|
||||
WEB_FLEX_BASIS(1),
|
||||
MIN_FLEX_FIX(2);
|
||||
|
||||
private int mIntValue;
|
||||
|
||||
@@ -30,6 +31,7 @@ public enum YogaExperimentalFeature {
|
||||
switch (value) {
|
||||
case 0: return ROUNDING;
|
||||
case 1: return WEB_FLEX_BASIS;
|
||||
case 2: return MIN_FLEX_FIX;
|
||||
default: throw new IllegalArgumentException("Unknown enum value: " + value);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user