mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-05-01 14:25:08 +08:00
Rename directories
Reviewed By: gkassabli Differential Revision: D4284681 fbshipit-source-id: f0c6855c2c6e4389b7867f48f72cbb697830fc5a
This commit is contained in:
committed by
Facebook Github Bot
parent
cf3ae6c32a
commit
7f8c2985a8
@@ -659,7 +659,7 @@ public class ReactShadowNode {
|
||||
if ((measureFunction == null ^ mYogaNode.isMeasureDefined()) &&
|
||||
getChildCount() != 0) {
|
||||
throw new RuntimeException(
|
||||
"Since a node with a measure function does not add any native CSSLayout children, it's " +
|
||||
"Since a node with a measure function does not add any native yoga children, it's " +
|
||||
"not safe to transition to/from having a measure function unless a node has no children");
|
||||
}
|
||||
mYogaNode.setMeasureFunction(measureFunction);
|
||||
|
||||
Reference in New Issue
Block a user