瀏覽代碼

Fix push screen from SideMenu

Guy Carmeli 8 年之前
父節點
當前提交
eab83dd092
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. 1
    1
      example-redux/src/screens/SecondTabScreen.js

+ 1
- 1
example-redux/src/screens/SecondTabScreen.js 查看文件

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: {