From ec333e8bf012e8deffbde229407111f3efa2cf48 Mon Sep 17 00:00:00 2001 From: Violet Caulfield Date: Tue, 18 Feb 2025 22:47:46 -0600 Subject: [PATCH] add list header --- components/Discover/helpers/just-added.tsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/components/Discover/helpers/just-added.tsx b/components/Discover/helpers/just-added.tsx index 8cc68088..58694cce 100644 --- a/components/Discover/helpers/just-added.tsx +++ b/components/Discover/helpers/just-added.tsx @@ -5,6 +5,8 @@ import { QueryKeys } from "../../../enums/query-keys"; import { fetchRecentlyAdded } from "../../../api/queries/functions/recents"; import HorizontalCardList from "../../../components/Global/components/horizontal-list"; import { ItemCard } from "../../../components/Global/components/item-card"; +import { H2 } from "@/components/Global/helpers/text"; +import Client from "@/api/client"; export default function RecentlyAdded({ navigation @@ -26,6 +28,7 @@ export default function RecentlyAdded({ query: QueryKeys.RecentlyAdded }) }} + ListHeaderComponent={(

{`Recently added to ${Client.server?.name ?? "Jellyfin"}`}

)} renderItem={({ item }) =>