Skip to content

Instantly share code, notes, and snippets.

@LouiseBC
Created October 4, 2019 15:51
Show Gist options
  • Select an option

  • Save LouiseBC/e5bbf0acfc3742a3bec62c7f3538b247 to your computer and use it in GitHub Desktop.

Select an option

Save LouiseBC/e5bbf0acfc3742a3bec62c7f3538b247 to your computer and use it in GitHub Desktop.
Causes splash screen to show instead of pushed screen
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