-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
12 additions
and
0 deletions.
There are no files selected for viewing
12 changes: 12 additions & 0 deletions
12
patches/react-native-screens+3.30.1+001+fix-screen-type.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
diff --git a/node_modules/react-native-screens/src/components/Screen.tsx b/node_modules/react-native-screens/src/components/Screen.tsx | ||
index 3f9a1cb..45767f7 100644 | ||
--- a/node_modules/react-native-screens/src/components/Screen.tsx | ||
+++ b/node_modules/react-native-screens/src/components/Screen.tsx | ||
@@ -79,6 +79,7 @@ export class InnerScreen extends React.Component<ScreenProps> { | ||
// Due to how Yoga resolves layout, we need to have different components for modal nad non-modal screens | ||
const AnimatedScreen = | ||
Platform.OS === 'android' || | ||
+ stackPresentation === undefined || | ||
stackPresentation === 'push' || | ||
stackPresentation === 'containedModal' || | ||
stackPresentation === 'containedTransparentModal' |