Browse Source

title bug fix on ios

yogevbd 6 years ago
parent
commit
c0481040cb
1 changed files with 4 additions and 0 deletions
  1. 4
    0
      ios/RCCNavigationController.m

+ 4
- 0
ios/RCCNavigationController.m View File

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