From 463fff414132f303a66459cf8d9092ca86f67f3a Mon Sep 17 00:00:00 2001 From: Graham Mendick Date: Mon, 11 Sep 2023 23:12:16 +0100 Subject: [PATCH] Found the fix on react native svg See https://github.com/software-mansion/react-native-svg/pull/2079 Pretty sure this broke in React Native 0.72.1 --- .../components/navigationreactnative/NVBarButtonShadowNode.h | 2 +- .../navigationreactnative/NVNavigationBarShadowNode.h | 2 +- .../components/navigationreactnative/NVTabBarItemShadowNode.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/NavigationReactNative/src/cpp/react/renderer/components/navigationreactnative/NVBarButtonShadowNode.h b/NavigationReactNative/src/cpp/react/renderer/components/navigationreactnative/NVBarButtonShadowNode.h index bc589f9069..81f8e97f74 100644 --- a/NavigationReactNative/src/cpp/react/renderer/components/navigationreactnative/NVBarButtonShadowNode.h +++ b/NavigationReactNative/src/cpp/react/renderer/components/navigationreactnative/NVBarButtonShadowNode.h @@ -30,7 +30,7 @@ class JSI_EXPORT NVBarButtonShadowNode final: public ConcreteViewShadowNode< auto imageSource = ImageSource{ImageSource::Type::Invalid}; return { imageSource, - {imageSource, nullptr}}; + {imageSource, nullptr, {}}}; } #pragma mark - LayoutableShadowNode diff --git a/NavigationReactNative/src/cpp/react/renderer/components/navigationreactnative/NVNavigationBarShadowNode.h b/NavigationReactNative/src/cpp/react/renderer/components/navigationreactnative/NVNavigationBarShadowNode.h index a9ba278179..3efbbc467f 100644 --- a/NavigationReactNative/src/cpp/react/renderer/components/navigationreactnative/NVNavigationBarShadowNode.h +++ b/NavigationReactNative/src/cpp/react/renderer/components/navigationreactnative/NVNavigationBarShadowNode.h @@ -30,7 +30,7 @@ class JSI_EXPORT NVNavigationBarShadowNode final: public ConcreteViewShadowNode< auto imageSource = ImageSource{ImageSource::Type::Invalid}; return { imageSource, - {imageSource, nullptr}}; + {imageSource, nullptr, {}}}; } #pragma mark - LayoutableShadowNode diff --git a/NavigationReactNative/src/cpp/react/renderer/components/navigationreactnative/NVTabBarItemShadowNode.h b/NavigationReactNative/src/cpp/react/renderer/components/navigationreactnative/NVTabBarItemShadowNode.h index e8153bdee4..8fc617c57c 100644 --- a/NavigationReactNative/src/cpp/react/renderer/components/navigationreactnative/NVTabBarItemShadowNode.h +++ b/NavigationReactNative/src/cpp/react/renderer/components/navigationreactnative/NVTabBarItemShadowNode.h @@ -30,7 +30,7 @@ class JSI_EXPORT NVTabBarItemShadowNode final: public ConcreteViewShadowNode< auto imageSource = ImageSource{ImageSource::Type::Invalid}; return { imageSource, - {imageSource, nullptr}}; + {imageSource, nullptr, {}}}; } #pragma mark - LayoutableShadowNode