Created
October 4, 2019 15:51
-
-
Save LouiseBC/e5bbf0acfc3742a3bec62c7f3538b247 to your computer and use it in GitHub Desktop.
Causes splash screen to show instead of pushed screen
This file contains hidden or 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
| diff --git a/playground/src/screens/ModalScreen.js b/playground/src/screens/ModalScreen.js | |
| index fb11315c..66bfe4cf 100644 | |
| --- a/playground/src/screens/ModalScreen.js | |
| +++ b/playground/src/screens/ModalScreen.js | |
| @@ -23,11 +23,11 @@ class ModalScreen extends React.Component { | |
| static options() { | |
| return { | |
| topBar: { | |
| - testID: MODAL_SCREEN_HEADER, | |
| - title: { | |
| - text: 'Modal' | |
| - } | |
| - } | |
| + visible: 'false', | |
| + }, | |
| + statusBar: { | |
| + style: 'dark', | |
| + }, | |
| }; | |
| } | |
| diff --git a/playground/src/screens/NavigationScreen.js b/playground/src/screens/NavigationScreen.js | |
| index 5c2993e4..697e6fcd 100644 | |
| --- a/playground/src/screens/NavigationScreen.js | |
| +++ b/playground/src/screens/NavigationScreen.js | |
| @@ -21,6 +21,10 @@ class NavigationScreen extends React.Component { | |
| text: 'Navigation' | |
| } | |
| }, | |
| + statusBar: { | |
| + style: 'light', | |
| + backgroundColor: 'pink', | |
| + }, | |
| bottomTab: { | |
| text: 'Navigation', | |
| icon: require('../../img/navigation.png'), |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment