diff options
| author | MohamedBassem <me@mbassem.com> | 2024-12-16 00:26:12 +0000 |
|---|---|---|
| committer | MohamedBassem <me@mbassem.com> | 2024-12-16 11:45:08 +0000 |
| commit | f4b2bac6b0749e5924f9e9e789cc361a17427364 (patch) | |
| tree | d60e90f6788598f95e233cdc4947fa79b931f998 /apps/mobile/app/dashboard/archive.tsx | |
| parent | 705d539c8e9c6a86882825ee4dabeff3027ba827 (diff) | |
| download | karakeep-f4b2bac6b0749e5924f9e9e789cc361a17427364.tar.zst | |
ui(mobile): Make page titles more native
Diffstat (limited to 'apps/mobile/app/dashboard/archive.tsx')
| -rw-r--r-- | apps/mobile/app/dashboard/archive.tsx | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/apps/mobile/app/dashboard/archive.tsx b/apps/mobile/app/dashboard/archive.tsx index 2fe5d274..b4cc3a66 100644 --- a/apps/mobile/app/dashboard/archive.tsx +++ b/apps/mobile/app/dashboard/archive.tsx @@ -1,14 +1,16 @@ +import { useNavigation } from "expo-router"; import UpdatingBookmarkList from "@/components/bookmarks/UpdatingBookmarkList"; import CustomSafeAreaView from "@/components/ui/CustomSafeAreaView"; -import PageTitle from "@/components/ui/PageTitle"; export default function Archive() { + const navigator = useNavigation(); + navigator.setOptions({ + headerTitle: "🗄️ Archive", + headerLargeTitle: true, + }); return ( <CustomSafeAreaView> - <UpdatingBookmarkList - query={{ archived: true }} - header={<PageTitle title="🗄️ Archive" />} - /> + <UpdatingBookmarkList query={{ archived: true }} /> </CustomSafeAreaView> ); } |
