File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -129,7 +129,7 @@ class CardStack extends React.Component {
129
129
const screenNavigation = addNavigationHelpers ( {
130
130
dispatch : navigation . dispatch ,
131
131
state : scene . route ,
132
- isFocused : this . _isRouteFocused . bind ( this , scene . route ) ,
132
+ isFocused : ( ) => this . _isRouteFocused ( scene . route ) ,
133
133
addListener : this . _childEventSubscribers [ scene . route . key ] ,
134
134
} ) ;
135
135
screenDetails = {
Original file line number Diff line number Diff line change @@ -108,7 +108,7 @@ export default class DrawerView extends React.PureComponent {
108
108
this . _screenNavigationProp = addNavigationHelpers ( {
109
109
dispatch : navigation . dispatch ,
110
110
state : navigationState ,
111
- isFocused : this . _isRouteFocused . bind ( this , navigationState ) ,
111
+ isFocused : ( ) => this . _isRouteFocused ( navigationState ) ,
112
112
addListener : this . _childEventSubscribers [ navigationState . key ] ,
113
113
} ) ;
114
114
} ;
You can’t perform that action at this time.
0 commit comments