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
This commit is contained in:
Rob Hogan 2017-01-27 14:54:32 -08:00 committed by Facebook Github Bot
parent 9d6d8a24eb
commit 2a5cb9a773
1 changed files with 2 additions and 2 deletions

View File

@ -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
}