Merge remote-tracking branch 'origin/perf' into perf

This commit is contained in:
keplyx 2020-03-08 11:27:45 +01:00
commit 0020c5f588
2 changed files with 7 additions and 1 deletions

View file

@ -208,7 +208,8 @@ function TabNavigator(props) {
let icon = TAB_ICONS[route.name];
// tintColor is ignoring activeColor and inactiveColor for some reason
icon = focused ? icon : icon + ('-outline');
return <MaterialCommunityIcons name={icon} color={colors.text} size={26}/>;
let iconColor = focused ? colors.tabIconFocused : colors.tabIcon;
return <MaterialCommunityIcons name={icon} color={iconColor} size={26}/>;
},
})}
>

View file

@ -22,6 +22,8 @@ export default class ThemeManager {
...DefaultTheme.colors,
primary: '#be1522',
accent: '#be1522',
tabIcon: "#929292",
tabIconFocused: "#000000",
card: "rgb(255, 255, 255)",
dividerBackground: '#e2e2e2',
textDisabled: '#c1c1c1',
@ -59,6 +61,9 @@ export default class ThemeManager {
...DarkTheme.colors,
primary: '#be1522',
accent: '#be1522',
tabBackground: "#181818",
tabIcon: "#6d6d6d",
tabIconFocused: "#ffffff",
card: "rgb(18, 18, 18)",
dividerBackground: '#222222',
textDisabled: '#5b5b5b',