File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -21,9 +21,9 @@ NS_ASSUME_NONNULL_BEGIN
2121 withContext : (nonnull RNSTabsNavigationStateUpdateContext *)context ;
2222
2323- (void )tabBarController : (nonnull RNSTabBarController *)tabBarController
24- rejectedStateUpdateTo : (nonnull RNSTabsNavigationStateUpdateRequest *)rejectedRequest
25- currentState : (nonnull RNSTabsNavigationState *)currentNavState
26- withReason : (RNSTabsNavigationStateRejectionReason)reasonCode ;
24+ rejectedStateUpdate : (nonnull RNSTabsNavigationStateUpdateRequest *)rejectedRequest
25+ currentState : (nonnull RNSTabsNavigationState *)currentNavState
26+ withReason : (RNSTabsNavigationStateRejectionReason)reasonCode ;
2727
2828- (void )tabBarController : (nonnull RNSTabBarController *)tabBarController
2929 preventedSelectionOf : (nonnull NSString *)screenKey
Original file line number Diff line number Diff line change @@ -479,7 +479,7 @@ - (void)updateSelectedViewControllerInner
479479
480480 if (self.rejectStaleNavigationStateUpdates && [self isNavigationStateUpdateStale: _pendingStateUpdate]) {
481481 [self .tabsHostComponentView tabBarController: self
482- rejectedStateUpdateTo : _pendingStateUpdate
482+ rejectedStateUpdate : _pendingStateUpdate
483483 currentState: _navigationState
484484 withReason: RNSTabsNavigationStateRejectionReasonStale];
485485 return ;
@@ -489,7 +489,7 @@ - (void)updateSelectedViewControllerInner
489489 // Nothing to do, we don't allow for programmatic repeat selection, unless
490490 // we're during first render.
491491 [self .tabsHostComponentView tabBarController: self
492- rejectedStateUpdateTo : _pendingStateUpdate
492+ rejectedStateUpdate : _pendingStateUpdate
493493 currentState: _navigationState
494494 withReason: RNSTabsNavigationStateRejectionReasonRepeated];
495495 return ;
Original file line number Diff line number Diff line change @@ -614,9 +614,9 @@ - (void)tabBarController:(nonnull RNSTabBarController *)tabBarController
614614}
615615
616616- (void )tabBarController : (nonnull RNSTabBarController *)tabBarController
617- rejectedStateUpdateTo : (nonnull RNSTabsNavigationStateUpdateRequest *)rejectedRequest
618- currentState : (nonnull RNSTabsNavigationState *)currentNavState
619- withReason : (RNSTabsNavigationStateRejectionReason)reasonCode
617+ rejectedStateUpdate : (nonnull RNSTabsNavigationStateUpdateRequest *)rejectedRequest
618+ currentState : (nonnull RNSTabsNavigationState *)currentNavState
619+ withReason : (RNSTabsNavigationStateRejectionReason)reasonCode
620620{
621621 RCTAssert (currentNavState.selectedScreenKey != nil , @" [RNScreens] Current state screenKey MUST NOT be nil" );
622622 RCTAssert (
You can’t perform that action at this time.
0 commit comments