mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-07 09:27:29 +08:00
BREAKING: Add interface for ReactShadowNode
Reviewed By: AaaChiuuu Differential Revision: D5943137 fbshipit-source-id: 00950190e0256303d423ae86c6c18facf173ad6a
This commit is contained in:
committed by
Facebook Github Bot
parent
9c4ec30c15
commit
a5d1d25f56
@@ -109,7 +109,7 @@ public class UIImplementation {
|
||||
}
|
||||
|
||||
protected ReactShadowNode createRootShadowNode() {
|
||||
ReactShadowNode rootCSSNode = new ReactShadowNode();
|
||||
ReactShadowNode rootCSSNode = new ReactShadowNodeImpl();
|
||||
I18nUtil sharedI18nUtilInstance = I18nUtil.getInstance();
|
||||
if (sharedI18nUtilInstance.isRTL(mReactContext)) {
|
||||
rootCSSNode.setLayoutDirection(YogaDirection.RTL);
|
||||
|
||||
Reference in New Issue
Block a user