|
@@ -364,12 +364,6 @@ const NSInteger TRANSPARENT_NAVBAR_TAG = 78264803;
|
364
|
364
|
|
365
|
365
|
NSMutableDictionary *titleTextAttributes = [RCTHelpers textAttributesFromDictionary:self.navigatorStyle withPrefix:@"navBarText" baseFont:[UIFont boldSystemFontOfSize:17]];
|
366
|
366
|
[self.navigationController.navigationBar setTitleTextAttributes:titleTextAttributes];
|
367
|
|
-
|
368
|
|
- if (self.navigationItem.titleView && [self.navigationItem.titleView isKindOfClass:[RCCTitleView class]]) {
|
369
|
|
- RCCTitleView *titleView = (RCCTitleView *)self.navigationItem.titleView;
|
370
|
|
- RCCTitleViewHelper *helper = [[RCCTitleViewHelper alloc] init:viewController navigationController:viewController.navigationController title:titleView.titleLabel.text subtitle:titleView.subtitleLabel.text titleImageData:nil isSetSubtitle:NO];
|
371
|
|
- [helper setup:self.navigatorStyle];
|
372
|
|
- }
|
373
|
367
|
|
374
|
368
|
NSMutableDictionary *navButtonTextAttributes = [RCTHelpers textAttributesFromDictionary:self.navigatorStyle withPrefix:@"navBarButton"];
|
375
|
369
|
NSMutableDictionary *leftNavButtonTextAttributes = [RCTHelpers textAttributesFromDictionary:self.navigatorStyle withPrefix:@"navBarLeftButton"];
|
|
@@ -669,6 +663,7 @@ const NSInteger TRANSPARENT_NAVBAR_TAG = 78264803;
|
669
|
663
|
if ([prefersLargeTitles boolValue]) {
|
670
|
664
|
self.navigationController.navigationBar.prefersLargeTitles = YES;
|
671
|
665
|
self.navigationItem.largeTitleDisplayMode = UINavigationItemLargeTitleDisplayModeAlways;
|
|
666
|
+ self.navigationItem.titleView = nil;
|
672
|
667
|
} else {
|
673
|
668
|
self.navigationItem.largeTitleDisplayMode = UINavigationItemLargeTitleDisplayModeNever;
|
674
|
669
|
}
|