mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00: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
+4
-4
@@ -70,7 +70,7 @@ public class NativeViewHierarchyOptimizer {
|
||||
public void handleCreateView(
|
||||
ReactShadowNode node,
|
||||
ThemedReactContext themedContext,
|
||||
@Nullable CatalystStylesDiffMap initialProps) {
|
||||
@Nullable ReactStylesDiffMap initialProps) {
|
||||
if (!ENABLED) {
|
||||
int tag = node.getReactTag();
|
||||
mUIViewOperationQueue.enqueueCreateView(
|
||||
@@ -109,7 +109,7 @@ public class NativeViewHierarchyOptimizer {
|
||||
public void handleUpdateView(
|
||||
ReactShadowNode node,
|
||||
String className,
|
||||
CatalystStylesDiffMap props) {
|
||||
ReactStylesDiffMap props) {
|
||||
if (!ENABLED) {
|
||||
mUIViewOperationQueue.enqueueUpdateProperties(node.getReactTag(), className, props);
|
||||
return;
|
||||
@@ -377,7 +377,7 @@ public class NativeViewHierarchyOptimizer {
|
||||
|
||||
private void transitionLayoutOnlyViewToNativeView(
|
||||
ReactShadowNode node,
|
||||
@Nullable CatalystStylesDiffMap props) {
|
||||
@Nullable ReactStylesDiffMap props) {
|
||||
ReactShadowNode parent = node.getParent();
|
||||
if (parent == null) {
|
||||
node.setIsLayoutOnly(false);
|
||||
@@ -419,7 +419,7 @@ public class NativeViewHierarchyOptimizer {
|
||||
mTagsWithLayoutVisited.clear();
|
||||
}
|
||||
|
||||
private static boolean isLayoutOnlyAndCollapsable(@Nullable CatalystStylesDiffMap props) {
|
||||
private static boolean isLayoutOnlyAndCollapsable(@Nullable ReactStylesDiffMap props) {
|
||||
if (props == null) {
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user