From 26b53e2ccc00befd182c4af05ab52fc439be7535 Mon Sep 17 00:00:00 2001
From: MohamedBassem <me@mbassem.com>
Date: Fri, 29 Mar 2024 14:17:36 +0000
Subject: mobile(android): Getting the android app ready for submission

---
 apps/mobile/app/dashboard/(tabs)/_layout.tsx | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

(limited to 'apps/mobile/app/dashboard/(tabs)/_layout.tsx')

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={{
-- 
cgit v1.2.3-70-g09d2

