Skip to content

Colota - Android GPS Location tracker

style: swap dashboard and history tab icons to House and Waypoints

Max Dietrich77a4a89304f6
diff --git a/apps/mobile/src/components/ui/BottomTabBar.tsx b/apps/mobile/src/components/ui/BottomTabBar.tsx
index 5affcd8b..57814e71 100644
--- a/apps/mobile/src/components/ui/BottomTabBar.tsx
+++ b/apps/mobile/src/components/ui/BottomTabBar.tsx
@@ -5,7 +5,7 @@
import React from "react"
import { View, Pressable, Text, StyleSheet } from "react-native"
import { useSafeAreaInsets } from "react-native-safe-area-context"
-import { Settings, LucideIcon, MapPinned, MapPinHouse, Route } from "lucide-react-native"
+import { Settings, LucideIcon, House, MapPinHouse, Waypoints } from "lucide-react-native"
import { useTheme } from "../../hooks/useTheme"
import { fonts } from "../../styles/typography"
@@ -17,8 +17,8 @@ interface Tab {
}
const TABS: Tab[] = [
- { name: "dashboard", label: "Dashboard", icon: MapPinned, route: "Dashboard" },
- { name: "history", label: "History", icon: Route, route: "Location History" },
+ { name: "dashboard", label: "Dashboard", icon: House, route: "Dashboard" },
+ { name: "history", label: "History", icon: Waypoints, route: "Location History" },
{ name: "geofences", label: "Geofences", icon: MapPinHouse, route: "Geofences" },
{ name: "settings", label: "Settings", icon: Settings, route: "Settings" }
]