aboutsummaryrefslogtreecommitdiffstats
path: root/apps/mobile/app/dashboard/(tabs)/settings.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'apps/mobile/app/dashboard/(tabs)/settings.tsx')
-rw-r--r--apps/mobile/app/dashboard/(tabs)/settings.tsx7
1 files changed, 4 insertions, 3 deletions
diff --git a/apps/mobile/app/dashboard/(tabs)/settings.tsx b/apps/mobile/app/dashboard/(tabs)/settings.tsx
index f60c2495..0dbf7da6 100644
--- a/apps/mobile/app/dashboard/(tabs)/settings.tsx
+++ b/apps/mobile/app/dashboard/(tabs)/settings.tsx
@@ -1,8 +1,9 @@
-import { SafeAreaView, Text, View } from "react-native";
+import { Text, View } from "react-native";
import { Button } from "@/components/ui/Button";
import PageTitle from "@/components/ui/PageTitle";
import { useSession } from "@/lib/session";
import { api } from "@/lib/trpc";
+import CustomSafeAreaView from "@/components/ui/CustomSafeAreaView";
export default function Dashboard() {
const { logout } = useSession();
@@ -14,7 +15,7 @@ export default function Dashboard() {
}
return (
- <SafeAreaView>
+ <CustomSafeAreaView>
<PageTitle title="Settings" />
<View className="flex h-full w-full items-center gap-4 px-4 py-2">
<View className="w-full rounded-lg bg-white px-4 py-2">
@@ -25,6 +26,6 @@ export default function Dashboard() {
<Button className="w-full" label="Log Out" onPress={logout} />
</View>
- </SafeAreaView>
+ </CustomSafeAreaView>
);
}