From 095995dd16be5b6d120ffb763b13a3075f4108ec Mon Sep 17 00:00:00 2001
From: MohamedBassem <me@mbassem.com>
Date: Sat, 14 Sep 2024 20:36:03 +0100
Subject: fix(mobile): Fix some icon colors in dark mode

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

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

diff --git a/apps/mobile/app/dashboard/(tabs)/index.tsx b/apps/mobile/app/dashboard/(tabs)/index.tsx
index 14c2d270..01b17276 100644
--- a/apps/mobile/app/dashboard/(tabs)/index.tsx
+++ b/apps/mobile/app/dashboard/(tabs)/index.tsx
@@ -4,6 +4,7 @@ import * as Haptics from "expo-haptics";
 import * as ImagePicker from "expo-image-picker";
 import NoteEditorModal from "@/components/bookmarks/NewBookmarkModal";
 import UpdatingBookmarkList from "@/components/bookmarks/UpdatingBookmarkList";
+import { TailwindResolver } from "@/components/TailwindResolver";
 import CustomSafeAreaView from "@/components/ui/CustomSafeAreaView";
 import PageTitle from "@/components/ui/PageTitle";
 import { useToast } from "@/components/ui/Toast";
@@ -95,7 +96,12 @@ export default function Home() {
         className="absolute bottom-4 right-4 rounded-full bg-foreground p-6"
         onPress={() => newBookmarkModal.current?.present()}
       >
-        <Plus size={30} color="white" />
+        <TailwindResolver
+          comp={(styles) => (
+            <Plus size={30} color={styles?.color?.toString()} />
+          )}
+          className="text-background"
+        />
       </Pressable>
     </CustomSafeAreaView>
   );
-- 
cgit v1.3-1-g0d28

