diff options
Diffstat (limited to 'apps/mobile/app/dashboard/(tabs)/_layout.tsx')
| -rw-r--r-- | apps/mobile/app/dashboard/(tabs)/_layout.tsx | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/apps/mobile/app/dashboard/(tabs)/_layout.tsx b/apps/mobile/app/dashboard/(tabs)/_layout.tsx index ac1a7e2b..fe40215e 100644 --- a/apps/mobile/app/dashboard/(tabs)/_layout.tsx +++ b/apps/mobile/app/dashboard/(tabs)/_layout.tsx @@ -1,8 +1,15 @@ -import React from "react"; +import React, { useEffect } from "react"; import { Tabs } from "expo-router"; import { ClipboardList, Home, Search, Settings } from "lucide-react-native"; +import { Platform } from "react-native"; +import * as NavigationBar from 'expo-navigation-bar'; export default function TabLayout() { + useEffect(() => { + if (Platform.OS == "android") { + NavigationBar.setBackgroundColorAsync("white"); + } + }, []); return ( <Tabs screenOptions={{ |
