blob: b02088c86bff640e6475bd4b007d9b8ad39e49b8 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
import { useLayoutEffect } from "react";
import { useNavigation } from "expo-router";
import UpdatingBookmarkList from "@/components/bookmarks/UpdatingBookmarkList";
import CustomSafeAreaView from "@/components/ui/CustomSafeAreaView";
export default function Archive() {
const navigator = useNavigation();
useLayoutEffect(() => {
navigator.setOptions({
headerTitle: "🗄️ Archive",
headerLargeTitle: true,
});
}, [navigator]);
return (
<CustomSafeAreaView>
<UpdatingBookmarkList query={{ archived: true }} />
</CustomSafeAreaView>
);
}
|