Browse Source

Changed tab icons

keplyx 4 years ago
parent
commit
9e708bcf09
1 changed files with 5 additions and 5 deletions
  1. 5
    5
      navigation/MainTabNavigator.js

+ 5
- 5
navigation/MainTabNavigator.js View File

@@ -19,9 +19,9 @@ import {withTheme} from 'react-native-paper';
19 19
 const TAB_ICONS = {
20 20
     Home: 'triangle',
21 21
     Planning: 'calendar-range',
22
-    Proxiwash: 'washing-machine',
23
-    Proximo: 'shopping',
24
-    Planex: 'timetable',
22
+    Proxiwash: 'tshirt-crew',
23
+    Proximo: 'cart',
24
+    Planex: 'clock',
25 25
 };
26 26
 
27 27
 const defaultScreenOptions = {
@@ -207,8 +207,8 @@ function TabNavigator(props) {
207 207
                 tabBarIcon: ({focused, color, size}) => {
208 208
                     let icon = TAB_ICONS[route.name];
209 209
                     // tintColor is ignoring activeColor and inactiveColor for some reason
210
-                    color = focused ? colors.text : colors.textDisabled;
211
-                    return <MaterialCommunityIcons name={icon} color={color} size={26}/>;
210
+                    icon = focused ? icon : icon + ('-outline');
211
+                    return <MaterialCommunityIcons name={icon} color={colors.text} size={26}/>;
212 212
                 },
213 213
             })}
214 214
         >

Loading…
Cancel
Save