RCTNavigatorManager - drop unneeded error callback
Summary: Hey! So, I was interested to contibure, and started from todo Thank Closes https://github.com/facebook/react-native/pull/14823 Differential Revision: D5546610 Pulled By: javache fbshipit-source-id: 58e1b67786cbafa20399ac12dde9fcc3920abe94
This commit is contained in:
parent
4a8ad10b4d
commit
30d5b9dbf5
|
@ -25,7 +25,6 @@ var ViewPropTypes = require('ViewPropTypes');
|
|||
|
||||
var createReactClass = require('create-react-class');
|
||||
var invariant = require('fbjs/lib/invariant');
|
||||
var logError = require('logError');
|
||||
var requireNativeComponent = require('requireNativeComponent');
|
||||
|
||||
const keyMirror = require('fbjs/lib/keyMirror');
|
||||
|
@ -41,7 +40,6 @@ class NavigatorTransitionerIOS extends React.Component {
|
|||
requestSchedulingNavigation(cb) {
|
||||
RCTNavigatorManager.requestSchedulingJavaScriptNavigation(
|
||||
ReactNative.findNodeHandle(this),
|
||||
logError,
|
||||
cb
|
||||
);
|
||||
}
|
||||
|
|
|
@ -29,9 +29,7 @@ RCT_EXPORT_VIEW_PROPERTY(onNavigationProgress, RCTDirectEventBlock)
|
|||
RCT_EXPORT_VIEW_PROPERTY(onNavigationComplete, RCTBubblingEventBlock)
|
||||
RCT_EXPORT_VIEW_PROPERTY(interactivePopGestureEnabled, BOOL)
|
||||
|
||||
// TODO: remove error callbacks
|
||||
RCT_EXPORT_METHOD(requestSchedulingJavaScriptNavigation:(nonnull NSNumber *)reactTag
|
||||
errorCallback:(__unused RCTResponseSenderBlock)errorCallback
|
||||
callback:(RCTResponseSenderBlock)callback)
|
||||
{
|
||||
[self.bridge.uiManager addUIBlock:
|
||||
|
|
Loading…
Reference in New Issue