From f972708c477e4451885a0779acf92e875cf55d6a Mon Sep 17 00:00:00 2001 From: Carter Date: Wed, 23 Apr 2025 13:00:59 -0600 Subject: [PATCH] bottom navigator icons in light mode --- src/navigation/BottomNavigator.tsx | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/src/navigation/BottomNavigator.tsx b/src/navigation/BottomNavigator.tsx index d7bf295..543aa61 100644 --- a/src/navigation/BottomNavigator.tsx +++ b/src/navigation/BottomNavigator.tsx @@ -97,33 +97,37 @@ export default function BottomNavigator(props: Props) { } }; + const getType = () => { + return theme.palette.mode === "light" ? "dark" : "light" + } + const authenticatedNavigation = () => { return ( handleRouteChange(newValue)}> {isAdaptive && ( - } value="fields" /> + } value="fields" /> )} {isAdaptive && ( - } value="bins" /> + } value="bins" /> )} {isAdCon && ( } + icon={} value="constructionsiteMap" /> )} {isOmni && ( } + icon={} value="aviationMap" /> )} {isOmni && ( } + icon={} value="terminals" /> )} @@ -132,11 +136,11 @@ export default function BottomNavigator(props: Props) { label="Devices" icon={ isAdaptive ? ( - + ) : isAdCon ? ( - + ) : isOmni ? ( - + ) : ( ) @@ -146,7 +150,7 @@ export default function BottomNavigator(props: Props) { {isAdCon && ( } + icon={} value="jobsites" /> )}