summaryrefslogtreecommitdiff
path: root/Jel/Views/Dashboard
diff options
context:
space:
mode:
authorShav Kinderlehrer <[email protected]>2024-01-07 19:20:56 -0500
committerShav Kinderlehrer <[email protected]>2024-01-07 19:20:56 -0500
commit3f74421e5b33e9e284197ef8d8f5e27fc1dc2a22 (patch)
tree1e90fea659c5fc4c9b20109a871cbbcbd03c1420 /Jel/Views/Dashboard
parentb9b61fa7ebb2716a013aacc410abe64a08d6f471 (diff)
downloadjel-3f74421e5b33e9e284197ef8d8f5e27fc1dc2a22.tar.gz
jel-3f74421e5b33e9e284197ef8d8f5e27fc1dc2a22.zip
Add GenreView
Diffstat (limited to 'Jel/Views/Dashboard')
-rw-r--r--Jel/Views/Dashboard/DashboardLibraryView.swift5
1 files changed, 4 insertions, 1 deletions
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)