Ver código fonte

title bug fix on ios

yogevbd 6 anos atrás
pai
commit
c0481040cb
1 arquivos alterados com 4 adições e 0 exclusões
  1. 4
    0
      ios/RCCNavigationController.m

+ 4
- 0
ios/RCCNavigationController.m Ver arquivo

@@ -129,6 +129,10 @@ NSString const *CALLBACK_ASSOCIATED_ID = @"RCCNavigationController.CALLBACK_ASSO
129 129
         RCCViewController *viewController = [[RCCViewController alloc] initWithComponent:component passProps:passProps navigatorStyle:navigatorStyle globalProps:nil bridge:bridge];
130 130
         viewController.controllerId = passProps[@"screenInstanceID"];
131 131
         
132
+        [self processTitleView:viewController
133
+                         props:actionParams
134
+                         style:navigatorStyle];
135
+        
132 136
         NSString *backButtonTitle = actionParams[@"backButtonTitle"];
133 137
         if (!backButtonTitle) {
134 138
             NSNumber *hideBackButtonTitle = [[RCCManager sharedInstance] getAppStyle][@"hideBackButtonTitle"];