diff options
| author | MohamedBassem <me@mbassem.com> | 2024-03-29 14:17:36 +0000 |
|---|---|---|
| committer | MohamedBassem <me@mbassem.com> | 2024-03-29 14:17:36 +0000 |
| commit | 26b53e2ccc00befd182c4af05ab52fc439be7535 (patch) | |
| tree | 6697b977daecd0e43be15d9e34dd9f8cbf30472b /apps/mobile/app/dashboard/(tabs)/settings.tsx | |
| parent | 2cfb7cb27f3825b8c8656d8b8649bd22fa52bfbf (diff) | |
| download | karakeep-26b53e2ccc00befd182c4af05ab52fc439be7535.tar.zst | |
mobile(android): Getting the android app ready for submission
Diffstat (limited to 'apps/mobile/app/dashboard/(tabs)/settings.tsx')
| -rw-r--r-- | apps/mobile/app/dashboard/(tabs)/settings.tsx | 7 |
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> ); } |
