From 2e579368a809a2f01b39e0315c1f3cc949b3468a Mon Sep 17 00:00:00 2001 From: keplyx Date: Sun, 8 Mar 2020 11:35:11 +0100 Subject: [PATCH] Changed tab focused icon color --- navigation/MainTabNavigator.js | 5 +++-- utils/ThemeManager.js | 2 -- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/navigation/MainTabNavigator.js b/navigation/MainTabNavigator.js index a3705e1..ea4caaf 100644 --- a/navigation/MainTabNavigator.js +++ b/navigation/MainTabNavigator.js @@ -208,10 +208,11 @@ function TabNavigator(props) { let icon = TAB_ICONS[route.name]; // tintColor is ignoring activeColor and inactiveColor for some reason icon = focused ? icon : icon + ('-outline'); - let iconColor = focused ? colors.tabIconFocused : colors.tabIcon; - return ; + return ; }, })} + activeColor={colors.primary} + inactiveColor={colors.tabIcon} >