|
@@ -362,19 +362,8 @@ const NSInteger TRANSPARENT_NAVBAR_TAG = 78264803;
|
362
|
362
|
viewController.navigationController.navigationBar.barTintColor = nil;
|
363
|
363
|
}
|
364
|
364
|
|
365
|
|
- NSMutableDictionary *titleTextAttributes = [RCTHelpers textAttributesFromDictionary:self.navigatorStyle
|
366
|
|
- withPrefix:@"navBarText"
|
367
|
|
- baseFont:[UIFont boldSystemFontOfSize:17]];
|
|
365
|
+ NSMutableDictionary *titleTextAttributes = [RCTHelpers textAttributesFromDictionary:self.navigatorStyle withPrefix:@"navBarText" baseFont:[UIFont boldSystemFontOfSize:17]];
|
368
|
366
|
[self.navigationController.navigationBar setTitleTextAttributes:titleTextAttributes];
|
369
|
|
-
|
370
|
|
- if ([self.navigationController.navigationBar respondsToSelector:@selector(setLargeTitleTextAttributes:)]) {
|
371
|
|
- // As defined in Apple's UI Design Resources: https://developer.apple.com/design/resources/
|
372
|
|
- UIFont *largeBaseFont = [UIFont boldSystemFontOfSize:34];
|
373
|
|
- NSMutableDictionary *largeTitleTextAttributes = [RCTHelpers textAttributesFromDictionary:self.navigatorStyle
|
374
|
|
- withPrefix:@"navBarLargeText"
|
375
|
|
- baseFont:largeBaseFont];
|
376
|
|
- [self.navigationController.navigationBar setLargeTitleTextAttributes:largeTitleTextAttributes];
|
377
|
|
- }
|
378
|
367
|
|
379
|
368
|
NSMutableDictionary *navButtonTextAttributes = [RCTHelpers textAttributesFromDictionary:self.navigatorStyle withPrefix:@"navBarButton"];
|
380
|
369
|
NSMutableDictionary *leftNavButtonTextAttributes = [RCTHelpers textAttributesFromDictionary:self.navigatorStyle withPrefix:@"navBarLeftButton"];
|