From 502afc9724b5e075295680522060dc8df28875d6 Mon Sep 17 00:00:00 2001 From: Dan Abramov Date: Thu, 18 Jan 2024 22:35:01 +0000 Subject: [PATCH] Revert "Patch react navigation" This reverts commit 62516ed9c20410d166e1582b43b656c819495ddc. --- ...react-navigation+native-stack+6.9.13.patch | 57 ------------------- 1 file changed, 57 deletions(-) delete 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 deleted file mode 100644 index 3dd39f4ea5..0000000000 --- a/patches/@react-navigation+native-stack+6.9.13.patch +++ /dev/null @@ -1,57 +0,0 @@ -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,