|
@@ -266,7 +266,7 @@
|
266
|
266
|
NSString *badgeColor = actionParams[@"badgeColor"];
|
267
|
267
|
UIColor *color = badgeColor != (id)[NSNull null] ? [RCTConvert UIColor:badgeColor] : nil;
|
268
|
268
|
|
269
|
|
- if (viewController.tabBarItem respondsToSelector:@selector(badgeColor)) {
|
|
269
|
+ if ([viewController.tabBarItem respondsToSelector:@selector(badgeColor)]) {
|
270
|
270
|
viewController.tabBarItem.badgeColor = color;
|
271
|
271
|
}
|
272
|
272
|
viewController.tabBarItem.badgeValue = [NSString stringWithFormat:@"%@", badge];
|