diff options
| author | MohamedBassem <me@mbassem.com> | 2024-03-29 14:17:36 +0000 |
|---|---|---|
| committer | MohamedBassem <me@mbassem.com> | 2024-03-29 14:17:36 +0000 |
| commit | 26b53e2ccc00befd182c4af05ab52fc439be7535 (patch) | |
| tree | 6697b977daecd0e43be15d9e34dd9f8cbf30472b /apps/mobile/app/dashboard/(tabs)/_layout.tsx | |
| parent | 2cfb7cb27f3825b8c8656d8b8649bd22fa52bfbf (diff) | |
| download | karakeep-26b53e2ccc00befd182c4af05ab52fc439be7535.tar.zst | |
mobile(android): Getting the android app ready for submission
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={{ |
