|
@@ -44,6 +44,10 @@
|
44
|
44
|
if(barButtonItem) {
|
45
|
45
|
[barButtonItems addObject:barButtonItem];
|
46
|
46
|
}
|
|
47
|
+ UIColor* color = [self color:[RCTConvert UIColor:button[@"color"]] defaultColor:[defaultStyle.color getWithDefaultValue:nil]];
|
|
48
|
+ if (color) {
|
|
49
|
+ self.viewController.navigationController.navigationBar.tintColor = color;
|
|
50
|
+ }
|
47
|
51
|
}
|
48
|
52
|
|
49
|
53
|
if ([side isEqualToString:@"left"]) {
|
|
@@ -118,6 +122,7 @@
|
118
|
122
|
if (color) {
|
119
|
123
|
[textAttributes setObject:color forKey:NSForegroundColorAttributeName];
|
120
|
124
|
[barButtonItem setImage:[[iconImage withTintColor:color] imageWithRenderingMode:UIImageRenderingModeAlwaysOriginal]];
|
|
125
|
+ barButtonItem.tintColor = color;
|
121
|
126
|
}
|
122
|
127
|
|
123
|
128
|
NSNumber* fontSize = [self fontSize:dictionary[@"fontSize"] defaultFontSize:[defaultStyle.fontSize getWithDefaultValue:nil]];
|