Apple TV support 5: adjustments after manual import of #10427

Summary:
**Motivation**

After reviewing changes between my PR https://github.com/facebook/react-native/pull/10427 and what was eventually manually imported to master, found two minor adjustments needed.

**Test plan**

Existing tests should still pass.
Closes https://github.com/facebook/react-native/pull/11548

Differential Revision: D4357216

Pulled By: javache

fbshipit-source-id: 571794cda104210bf5236462c0700e07a2a51d29
This commit is contained in:
dlowder-salesforce 2016-12-21 03:19:54 -08:00 committed by Facebook Github Bot
parent d73746774b
commit fd5af61e5c
1 changed files with 1 additions and 1 deletions

View File

@ -107,7 +107,7 @@ RCT_ENUM_CONVERTER(UITabBarSystemItem, (@{
- (void)setBadgeColor:(UIColor *)bagdeColor
{
#if defined(__IPHONE_OS_VERSION_MAX_ALLOWED) && __IPHONE_OS_VERSION_MAX_ALLOWED >= __IPHONE_10_0
#if !TARGET_OS_TV && defined(__IPHONE_OS_VERSION_MAX_ALLOWED) && __IPHONE_OS_VERSION_MAX_ALLOWED >= __IPHONE_10_0
_barItem.badgeColor = bagdeColor;
#endif
}