From 267f72f84c6a5979eae696dae8fddee25188c1bb Mon Sep 17 00:00:00 2001 From: MohamedBassem Date: Fri, 15 Mar 2024 21:06:13 +0000 Subject: ui(mobile): New header style in the app --- apps/mobile/app/dashboard/(tabs)/settings.tsx | 24 +++++++++++++----------- 1 file changed, 13 insertions(+), 11 deletions(-) (limited to 'apps/mobile/app/dashboard/(tabs)/settings.tsx') diff --git a/apps/mobile/app/dashboard/(tabs)/settings.tsx b/apps/mobile/app/dashboard/(tabs)/settings.tsx index 81b21fc8..fe138f52 100644 --- a/apps/mobile/app/dashboard/(tabs)/settings.tsx +++ b/apps/mobile/app/dashboard/(tabs)/settings.tsx @@ -1,10 +1,10 @@ import { useEffect } from "react"; -import { Text, View } from "react-native"; +import { SafeAreaView, Text, View } from "react-native"; import { useRouter } from "expo-router"; -import Logo from "@/components/Logo"; import { Button } from "@/components/ui/Button"; import { useSession } from "@/lib/session"; import { api } from "@/lib/trpc"; +import PageTitle from "@/components/ui/PageTitle"; export default function Dashboard() { const router = useRouter(); @@ -26,15 +26,17 @@ export default function Dashboard() { }, [error]); return ( - - - - - {isLoading ? "Loading ..." : data?.email} - - + + + + + + {isLoading ? "Loading ..." : data?.email} + + -