Skip to content

Commit

Permalink
Apply title in resetTo (#2787)
Browse files Browse the repository at this point in the history
  • Loading branch information
akshlu authored and yogevbd committed Feb 27, 2018
1 parent 7e0eda4 commit d9f533d
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions ios/RCCNavigationController.m
Expand Up @@ -282,6 +282,11 @@ - (void)performAction:(NSString*)performAction actionParams:(NSDictionary*)actio
rightButtons:rightButtons
bridge:bridge];

NSDictionary *navigatorStyle = actionParams[@"style"];
[self processTitleView:viewController
props:actionParams
style:navigatorStyle];

viewControllers = @[viewController];
} else if (componentConfigs) {
NSMutableArray *mutableViewControllers = [NSMutableArray arrayWithCapacity:[componentConfigs count]];
Expand All @@ -301,6 +306,10 @@ - (void)performAction:(NSString*)performAction actionParams:(NSDictionary*)actio
rightButtons:rightButtons
bridge:bridge];

[self processTitleView:viewController
props:actionParams
style:style];

[mutableViewControllers addObject:viewController];
}];
viewControllers = [mutableViewControllers copy];
Expand Down

0 comments on commit d9f533d

Please sign in to comment.