From 62516ed9c20410d166e1582b43b656c819495ddc Mon Sep 17 00:00:00 2001 From: Dan Abramov Date: Tue, 16 Jan 2024 22:38:05 +0000 Subject: [PATCH] Patch react navigation --- ...react-navigation+native-stack+6.9.13.patch | 57 +++++++++++++++++++ 1 file changed, 57 insertions(+) create mode 100644 patches/@react-navigation+native-stack+6.9.13.patch diff --git a/patches/@react-navigation+native-stack+6.9.13.patch b/patches/@react-navigation+native-stack+6.9.13.patch new file mode 100644 index 0000000000..3dd39f4ea5 --- /dev/null +++ b/patches/@react-navigation+native-stack+6.9.13.patch @@ -0,0 +1,57 @@ +diff --git a/node_modules/@react-navigation/native-stack/lib/commonjs/views/NativeStackView.js b/node_modules/@react-navigation/native-stack/lib/commonjs/views/NativeStackView.js +index 57c6f74..63886ef 100644 +--- a/node_modules/@react-navigation/native-stack/lib/commonjs/views/NativeStackView.js ++++ b/node_modules/@react-navigation/native-stack/lib/commonjs/views/NativeStackView.js +@@ -133,10 +133,12 @@ function NativeStackView(_ref) { + } + const styles = _reactNative.StyleSheet.create({ + container: { +- flex: 1 ++ // Disabled for https://github.com/bluesky-social/social-app/pull/2126 ++ // flex: 1 + }, + contentContainer: { +- flex: 1 ++ // Disabled for https://github.com/bluesky-social/social-app/pull/2126 ++ // flex: 1 + }, + backImage: { + height: 24, +diff --git a/node_modules/@react-navigation/native-stack/lib/module/views/NativeStackView.js b/node_modules/@react-navigation/native-stack/lib/module/views/NativeStackView.js +index 1a78813..74a4baf 100644 +--- a/node_modules/@react-navigation/native-stack/lib/module/views/NativeStackView.js ++++ b/node_modules/@react-navigation/native-stack/lib/module/views/NativeStackView.js +@@ -125,10 +125,12 @@ export default function NativeStackView(_ref) { + } + const styles = StyleSheet.create({ + container: { +- flex: 1 ++ // Disabled for https://github.com/bluesky-social/social-app/pull/2126 ++ // flex: 1 + }, + contentContainer: { +- flex: 1 ++ // Disabled for https://github.com/bluesky-social/social-app/pull/2126 ++ // flex: 1 + }, + backImage: { + height: 24, +diff --git a/node_modules/@react-navigation/native-stack/src/views/NativeStackView.tsx b/node_modules/@react-navigation/native-stack/src/views/NativeStackView.tsx +index 1646c68..bfbbee8 100644 +--- a/node_modules/@react-navigation/native-stack/src/views/NativeStackView.tsx ++++ b/node_modules/@react-navigation/native-stack/src/views/NativeStackView.tsx +@@ -182,10 +182,12 @@ export default function NativeStackView({ state, descriptors }: Props) { + + const styles = StyleSheet.create({ + container: { +- flex: 1, ++ // Disabled for https://github.com/bluesky-social/social-app/pull/2126 ++ // flex: 1, + }, + contentContainer: { +- flex: 1, ++ // Disabled for https://github.com/bluesky-social/social-app/pull/2126 ++ // flex: 1, + }, + backImage: { + height: 24,