mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-14 23:18:06 +08:00
Remove flex shorthand getter because it doesnt make a lot of sense
Reviewed By: gkassabli Differential Revision: D4064674 fbshipit-source-id: 69935b85042020b4e8c61a393c1be8f4d42a6674
This commit is contained in:
committed by
Facebook Github Bot
parent
dc142ad8f9
commit
ea6458b63e
@@ -295,13 +295,6 @@ public class CSSNode implements CSSNodeAPI<CSSNode> {
|
||||
jni_CSSNodeStyleSetOverflow(mNativePointer, overflow.ordinal());
|
||||
}
|
||||
|
||||
private native float jni_CSSNodeStyleGetFlex(long nativePointer);
|
||||
@Override
|
||||
public float getFlex() {
|
||||
assertNativeInstance();
|
||||
return jni_CSSNodeStyleGetFlex(mNativePointer);
|
||||
}
|
||||
|
||||
private native void jni_CSSNodeStyleSetFlex(long nativePointer, float flex);
|
||||
@Override
|
||||
public void setFlex(float flex) {
|
||||
|
||||
Reference in New Issue
Block a user