Skip to content
Source
Sign inSign up

react-native-reanimated@4.7.1.patch

15 lines1.0 KB

1diff --git a/Common/cpp/reanimated/LayoutAnimations/LayoutAnimationsUtils.h b/Common/cpp/reanimated/LayoutAnimations/LayoutAnimationsUtils.h
2index 675b1b7..dea79ba 100644
3--- a/Common/cpp/reanimated/LayoutAnimations/LayoutAnimationsUtils.h
4+++ b/Common/cpp/reanimated/LayoutAnimations/LayoutAnimationsUtils.h
5@@ -247,7 +247,9 @@ static inline bool isRNSScreenOrStack(const std::shared_ptr<LightNode> &node) {
6 const auto componentName = node->current.componentName;
7 react_native_assert(componentName && "Component name is nullptr");
8 return !std::strcmp(componentName, "RNSScreenStack") || !std::strcmp(componentName, "RNSScreen") ||
9- !std::strcmp(componentName, "RNSModalScreen");
10+ !std::strcmp(componentName, "RNSModalScreen") || !std::strcmp(componentName, "RNSStackScreen") ||
11+ !std::strcmp(componentName, "RNSSplitScreen") || !std::strcmp(componentName, "RNSTabsScreenIOS") ||
12+ !std::strcmp(componentName, "RNSTabsScreenAndroid");
13 }
15 static inline bool isRNSScreen(const std::shared_ptr<LightNode> &node) {