From f0b61976b1c876bd4f46fa6c1f5bea991077febc Mon Sep 17 00:00:00 2001 From: Vasil Trifonov Date: Wed, 26 Feb 2020 18:34:08 +0200 Subject: [PATCH] chore: condition check updated --- nativescript-core/ui/bottom-navigation/bottom-navigation.ios.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nativescript-core/ui/bottom-navigation/bottom-navigation.ios.ts b/nativescript-core/ui/bottom-navigation/bottom-navigation.ios.ts index 2d5433ce1..f80207282 100644 --- a/nativescript-core/ui/bottom-navigation/bottom-navigation.ios.ts +++ b/nativescript-core/ui/bottom-navigation/bottom-navigation.ios.ts @@ -732,7 +732,7 @@ function applyStatesToItem(item: UITabBarItem, states: TabStates, tabBar: UITabB // to fix the above issue we are applying the selected fix only for the case, when there is no background set // in that case we have the following known issue: // we will set the color to all unselected items, so you won't be able to set different colors for the different not selected items - if ((!tabBar.barTintColor) && (states.normalState[UITextAttributeTextColor] && (majorVersion > 9))) { + if (!tabBar.barTintColor && states.normalState[UITextAttributeTextColor] && (majorVersion > 9)) { tabBar.unselectedItemTintColor = states.normalState[UITextAttributeTextColor]; } }