diff --git a/packages/react-navigation/examples/NavigationPlayground/App.js b/packages/react-navigation/examples/NavigationPlayground/App.js index 1c29d3c3..96c973d2 100644 --- a/packages/react-navigation/examples/NavigationPlayground/App.js +++ b/packages/react-navigation/examples/NavigationPlayground/App.js @@ -1,7 +1,10 @@ +import { Platform } from 'react-native'; import { useScreens } from 'react-native-screens'; // Uncomment this to use react-native-screens -// useScreens(); +// if (Platform.OS === 'android') { +// useScreens(); +// } import App from './js/App'; export default App; diff --git a/packages/react-navigation/examples/NavigationPlayground/app.json b/packages/react-navigation/examples/NavigationPlayground/app.json index 25e2f0bd..4c5997ce 100644 --- a/packages/react-navigation/examples/NavigationPlayground/app.json +++ b/packages/react-navigation/examples/NavigationPlayground/app.json @@ -23,4 +23,4 @@ "package": "com.reactnavigation.example" } } -} +} \ No newline at end of file diff --git a/packages/react-navigation/examples/NavigationPlayground/js/Drawer.js b/packages/react-navigation/examples/NavigationPlayground/js/Drawer.js index eeb49d9c..bb360d38 100644 --- a/packages/react-navigation/examples/NavigationPlayground/js/Drawer.js +++ b/packages/react-navigation/examples/NavigationPlayground/js/Drawer.js @@ -22,7 +22,7 @@ const MyNavScreen = ({ navigation, banner }) => ( onPress={() => navigation.navigate('Email')} title="Open other screen" /> -