[ReactNative] Navigator.Interceptor handler arg fix
This commit is contained in:
parent
4bd56ca6d1
commit
6abf37b47e
|
@ -78,9 +78,9 @@ var NavigatorInterceptor = React.createClass({
|
||||||
}
|
}
|
||||||
switch (action) {
|
switch (action) {
|
||||||
case 'pop':
|
case 'pop':
|
||||||
return this.props.onPopRequest && this.props.onPopRequest(action, arg1, arg2);
|
return this.props.onPopRequest && this.props.onPopRequest(arg1, arg2);
|
||||||
case 'push':
|
case 'push':
|
||||||
return this.props.onPushRequest && this.props.onPushRequest(action, arg1, arg2);
|
return this.props.onPushRequest && this.props.onPushRequest(arg1, arg2);
|
||||||
default:
|
default:
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue