From f4b2bac6b0749e5924f9e9e789cc361a17427364 Mon Sep 17 00:00:00 2001
From: MohamedBassem <me@mbassem.com>
Date: Mon, 16 Dec 2024 00:26:12 +0000
Subject: ui(mobile): Make page titles more native

---
 apps/mobile/app/dashboard/favourites.tsx | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

(limited to 'apps/mobile/app/dashboard/favourites.tsx')

diff --git a/apps/mobile/app/dashboard/favourites.tsx b/apps/mobile/app/dashboard/favourites.tsx
index fb39504b..1dddfe31 100644
--- a/apps/mobile/app/dashboard/favourites.tsx
+++ b/apps/mobile/app/dashboard/favourites.tsx
@@ -1,15 +1,19 @@
+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 Favourites() {
+  const navigator = useNavigation();
+  navigator.setOptions({
+    headerTitle: "⭐️ Favourites",
+    headerLargeTitle: true,
+  });
   return (
     <CustomSafeAreaView>
       <UpdatingBookmarkList
         query={{
           favourited: true,
         }}
-        header={<PageTitle title="⭐️ Favourites" />}
       />
     </CustomSafeAreaView>
   );
-- 
cgit v1.2.3-70-g09d2

