mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-02-07 22:42:13 +08:00
Less Catalyst, more React
Summary: Catalyst is the old project name. Rename a few files. public Reviewed By: bestander Differential Revision: D2859553 fb-gh-sync-id: 65a87cc7bcc22f20326971becec02aa1c573e5b9
This commit is contained in:
committed by
facebook-github-bot-9
parent
481f560f64
commit
c95d74ac09
@@ -141,9 +141,9 @@ public class UIImplementation {
|
||||
|
||||
mShadowNodeRegistry.addNode(cssNode);
|
||||
|
||||
CatalystStylesDiffMap styles = null;
|
||||
ReactStylesDiffMap styles = null;
|
||||
if (props != null) {
|
||||
styles = new CatalystStylesDiffMap(props);
|
||||
styles = new ReactStylesDiffMap(props);
|
||||
cssNode.updateProperties(styles);
|
||||
}
|
||||
|
||||
@@ -153,7 +153,7 @@ public class UIImplementation {
|
||||
protected void handleCreateView(
|
||||
ReactShadowNode cssNode,
|
||||
int rootViewTag,
|
||||
@Nullable CatalystStylesDiffMap styles) {
|
||||
@Nullable ReactStylesDiffMap styles) {
|
||||
if (!cssNode.isVirtual()) {
|
||||
mNativeViewHierarchyOptimizer.handleCreateView(cssNode, cssNode.getThemedContext(), styles);
|
||||
}
|
||||
@@ -173,7 +173,7 @@ public class UIImplementation {
|
||||
}
|
||||
|
||||
if (props != null) {
|
||||
CatalystStylesDiffMap styles = new CatalystStylesDiffMap(props);
|
||||
ReactStylesDiffMap styles = new ReactStylesDiffMap(props);
|
||||
cssNode.updateProperties(styles);
|
||||
handleUpdateView(cssNode, className, styles);
|
||||
}
|
||||
@@ -182,7 +182,7 @@ public class UIImplementation {
|
||||
protected void handleUpdateView(
|
||||
ReactShadowNode cssNode,
|
||||
String className,
|
||||
CatalystStylesDiffMap styles) {
|
||||
ReactStylesDiffMap styles) {
|
||||
if (!cssNode.isVirtual()) {
|
||||
mNativeViewHierarchyOptimizer.handleUpdateView(cssNode, className, styles);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user