Pārlūkot izejas kodu

Hide back button when calling resetTo (#1469)

Kyle Johnson 7 gadus atpakaļ
vecāks
revīzija
518e372e05
1 mainītis faili ar 2 papildinājumiem un 0 dzēšanām
  1. 2
    0
      ios/RCCNavigationController.m

+ 2
- 0
ios/RCCNavigationController.m Parādīt failu

@@ -217,6 +217,8 @@ NSString const *CALLBACK_ASSOCIATED_ID = @"RCCNavigationController.CALLBACK_ASSO
217 217
     RCCViewController *viewController = [[RCCViewController alloc] initWithComponent:component passProps:passProps navigatorStyle:navigatorStyle globalProps:nil bridge:bridge];
218 218
     viewController.controllerId = passProps[@"screenInstanceID"];
219 219
     
220
+    viewController.navigationItem.hidesBackButton = YES;
221
+    
220 222
     [self processTitleView:viewController
221 223
                      props:actionParams
222 224
                      style:navigatorStyle];