diff --git a/React/Views/RCTTabBarItem.m b/React/Views/RCTTabBarItem.m index 80903f7df..915286c82 100644 --- a/React/Views/RCTTabBarItem.m +++ b/React/Views/RCTTabBarItem.m @@ -105,10 +105,10 @@ RCT_ENUM_CONVERTER(UITabBarSystemItem, (@{ } } -- (void)setBadgeColor:(UIColor *)bagdeColor +- (void)setBadgeColor:(UIColor *)badgeColor { #if !TARGET_OS_TV && defined(__IPHONE_OS_VERSION_MAX_ALLOWED) && __IPHONE_OS_VERSION_MAX_ALLOWED >= __IPHONE_10_0 - _barItem.badgeColor = bagdeColor; + _barItem.badgeColor = badgeColor; #endif }