From 2a5cb9a7739da6d6d8ab0a0b8127e12528981938 Mon Sep 17 00:00:00 2001 From: Rob Hogan Date: Fri, 27 Jan 2017 14:54:32 -0800 Subject: [PATCH] Typo: bagde -> badge Summary: Simple typo fix for an Obj-C local variable. Closes https://github.com/facebook/react-native/pull/12099 Differential Revision: D4477106 fbshipit-source-id: 7626a22981e24946398d5f6299fd7dab664a1419 --- React/Views/RCTTabBarItem.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 }