frontend: make tabs tint correct
Pedro Lucas Porcellis porcellis@eletrotupi.com · 5 months ago
03018f2d5beb66e0c1bd781f487e742a516ef4bc Browse filesParents
41bda0cChanged files
1
Additions
+2
Deletions
-1
frontend/app/(tabs)/_layout.tsx
1 1
import { Tabs, Redirect, router } from 'expo-router';
2 2
import React, { useEffect } from 'react';
3 3
import { View, ActivityIndicator } from 'react-native';
4 4
5 5
import { HapticTab } from '@/components/misc/haptic-tab';
31 31
}
32 32
33 33
return (
34 34
<Tabs
35 35
screenOptions={{
36 -
tabBarActiveTintColor: Colors['light'].tint,
36 +
tabBarInactiveTintColor: Colors['light'].tabIconDefault,
37 +
tabBarActiveTintColor: Colors['light'].tabIconSelected,
37 38
headerShown: false,
38 39
tabBarButton: HapticTab,
39 40
}}>
40 41
41 42
<Tabs.Screen
62 63
}}
63 64
/>
64 65
</Tabs>
65 66
);
66 67
}