From 3f74421e5b33e9e284197ef8d8f5e27fc1dc2a22 Mon Sep 17 00:00:00 2001 From: Shav Kinderlehrer Date: Sun, 7 Jan 2024 19:20:56 -0500 Subject: Add GenreView --- Jel/Views/Dashboard/DashboardLibraryView.swift | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'Jel/Views/Dashboard') diff --git a/Jel/Views/Dashboard/DashboardLibraryView.swift b/Jel/Views/Dashboard/DashboardLibraryView.swift index 2a8dee1..19f7bf3 100644 --- a/Jel/Views/Dashboard/DashboardLibraryView.swift +++ b/Jel/Views/Dashboard/DashboardLibraryView.swift @@ -26,7 +26,10 @@ struct DashboardLibraryView: View { ForEach(libraries) {library in if library.collectionType == "movies" || library.collectionType == "tvshows" { NavigationLink { - LibraryDetailView(library: library) + LibraryDetailView(library: library) {items in + return items + } + .navigationTitle(library.name ?? "Unknown") } label: { ItemIconView(item: library, height: 150) .setAspectRatio(library.primaryImageAspectRatio) -- cgit v1.2.3