t3-code-android-nightly/patches/react-native-reanimated@4.8.0.patch
2026-11-25 01:01:37 +00:00

15 lines
1 KiB
Diff

diff --git a/Common/cpp/reanimated/LayoutAnimations/LayoutAnimationsUtils.h b/Common/cpp/reanimated/LayoutAnimations/LayoutAnimationsUtils.h
index cda418f..ec40403 100644
--- a/Common/cpp/reanimated/LayoutAnimations/LayoutAnimationsUtils.h
+++ b/Common/cpp/reanimated/LayoutAnimations/LayoutAnimationsUtils.h
@@ -460,7 +460,9 @@ static inline bool isRNSScreenOrStack(const std::shared_ptr<LightNode> &node) {
const auto componentName = node->current.componentName;
react_native_assert(componentName && "Component name is nullptr");
return !std::strcmp(componentName, "RNSScreenStack") || !std::strcmp(componentName, "RNSScreen") ||
- !std::strcmp(componentName, "RNSModalScreen");
+ !std::strcmp(componentName, "RNSModalScreen") || !std::strcmp(componentName, "RNSStackScreen") ||
+ !std::strcmp(componentName, "RNSSplitScreen") || !std::strcmp(componentName, "RNSTabsScreenIOS") ||
+ !std::strcmp(componentName, "RNSTabsScreenAndroid");
}
static inline bool isRNSScreen(const std::shared_ptr<LightNode> &node) {