diff options
| author | Mohamed Bassem <me@mbassem.com> | 2026-02-08 22:45:32 +0000 |
|---|---|---|
| committer | Mohamed Bassem <me@mbassem.com> | 2026-02-09 00:17:31 +0000 |
| commit | e455e46852900c6d2b3e77b7a77e1b9da41b2ca8 (patch) | |
| tree | 2d2042bd43d704b6432332c1465619b4b907dc71 /apps/mobile/app/dashboard/(tabs)/highlights.tsx | |
| parent | 4186c4c64c68892248ce8671d9b8e67fc7f884a0 (diff) | |
| download | karakeep-e455e46852900c6d2b3e77b7a77e1b9da41b2ca8.tar.zst | |
feat(mobile): more native screens
Diffstat (limited to '')
| -rw-r--r-- | apps/mobile/app/dashboard/(tabs)/(highlights)/index.tsx (renamed from apps/mobile/app/dashboard/(tabs)/highlights.tsx) | 24 |
1 files changed, 7 insertions, 17 deletions
diff --git a/apps/mobile/app/dashboard/(tabs)/highlights.tsx b/apps/mobile/app/dashboard/(tabs)/(highlights)/index.tsx index 8d6e37a4..48a190c1 100644 --- a/apps/mobile/app/dashboard/(tabs)/highlights.tsx +++ b/apps/mobile/app/dashboard/(tabs)/(highlights)/index.tsx @@ -1,9 +1,6 @@ -import { View } from "react-native"; import FullPageError from "@/components/FullPageError"; import HighlightList from "@/components/highlights/HighlightList"; -import CustomSafeAreaView from "@/components/ui/CustomSafeAreaView"; import FullPageSpinner from "@/components/ui/FullPageSpinner"; -import PageTitle from "@/components/ui/PageTitle"; import { useInfiniteQuery, useQueryClient } from "@tanstack/react-query"; import { useTRPC } from "@karakeep/shared-react/trpc"; @@ -42,19 +39,12 @@ export default function Highlights() { }; return ( - <CustomSafeAreaView edges={["top"]}> - <HighlightList - highlights={data.pages.flatMap((p) => p.highlights)} - header={ - <View className="flex flex-row justify-between"> - <PageTitle title="Highlights" /> - </View> - } - onRefresh={onRefresh} - fetchNextPage={fetchNextPage} - isFetchingNextPage={isFetchingNextPage} - isRefreshing={isPending || isPlaceholderData} - /> - </CustomSafeAreaView> + <HighlightList + highlights={data.pages.flatMap((p) => p.highlights)} + onRefresh={onRefresh} + fetchNextPage={fetchNextPage} + isFetchingNextPage={isFetchingNextPage} + isRefreshing={isPending || isPlaceholderData} + /> ); } |
