Skip to content

Commit

Permalink
Merge pull request race604#22 from binggg/master
Browse files Browse the repository at this point in the history
this.drawer is undefined,fixed it
  • Loading branch information
race604 committed Oct 15, 2015
2 parents 8a36800 + 13258fa commit af9bfb5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MainScreen.android.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ var MainScreen = React.createClass({
titleColor="white"
style={styles.toolbar}
actions={toolbarActions}
onIconClicked={() => this.drawer.openDrawer()}
onIconClicked={() => this.refs[DRAWER_REF].openDrawer()}
onActionSelected={this.onActionSelected} />
<SwipeRefreshLayoutAndroid
ref={(swipeRefreshLayout) => { this.swipeRefreshLayout = swipeRefreshLayout; }}
Expand Down

0 comments on commit af9bfb5

Please sign in to comment.