Parcourir la source

Fix push screen from SideMenu

Guy Carmeli il y a 9 ans
Parent
révision
eab83dd092
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1
    1
      example-redux/src/screens/SecondTabScreen.js

+ 1
- 1
example-redux/src/screens/SecondTabScreen.js Voir le fichier

149
 
149
 
150
     this.props.navigator.push({
150
     this.props.navigator.push({
151
       title: "Pushed from SideMenu",
151
       title: "Pushed from SideMenu",
152
-      screen: parts[2],
152
+      screen: 'example.PushedScreen',
153
       passProps: {
153
       passProps: {
154
         str: 'This is a prop passed in \'navigator.push()\'!',
154
         str: 'This is a prop passed in \'navigator.push()\'!',
155
         obj: {
155
         obj: {