From c46482cdaaf883971736488750513663dd023076 Mon Sep 17 00:00:00 2001
From: MohamedBassem <me@mbassem.com>
Date: Wed, 17 Apr 2024 17:56:21 +0100
Subject: mobile: Add dark mode support

---
 apps/mobile/components/ui/Divider.tsx | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

(limited to 'apps/mobile/components/ui/Divider.tsx')

diff --git a/apps/mobile/components/ui/Divider.tsx b/apps/mobile/components/ui/Divider.tsx
index cf1b4624..fbc5cf64 100644
--- a/apps/mobile/components/ui/Divider.tsx
+++ b/apps/mobile/components/ui/Divider.tsx
@@ -2,7 +2,6 @@ import { View } from "react-native";
 import { cn } from "@/lib/utils";
 
 function Divider({
-  color = "#DFE4EA",
   className,
   orientation,
   ...props
@@ -10,15 +9,13 @@ function Divider({
   color?: string;
   orientation: "horizontal" | "vertical";
 } & React.ComponentPropsWithoutRef<typeof View>) {
-  const dividerStyles = [{ backgroundColor: color }];
-
   return (
     <View
       className={cn(
+        "bg-accent",
         orientation === "horizontal" ? "h-0.5" : "w-0.5",
         className,
       )}
-      style={dividerStyles}
       {...props}
     />
   );
-- 
cgit v1.2.3-70-g09d2

