summaryrefslogtreecommitdiff
path: root/Jel/Views/Library/Item/ItemGenresView.swift
diff options
context:
space:
mode:
authorShav Kinderlehrer <[email protected]>2024-01-09 12:32:06 -0500
committerShav Kinderlehrer <[email protected]>2024-01-09 12:32:06 -0500
commit6edc39791a577a500c92f32361cf1e7d2590ec37 (patch)
tree776de4bae461836f8cba5ff673fc4ccfabd6df55 /Jel/Views/Library/Item/ItemGenresView.swift
parent4ec0f962b2a175ae5f1e3e55a720f9534618a4ad (diff)
downloadjel-6edc39791a577a500c92f32361cf1e7d2590ec37.tar.gz
jel-6edc39791a577a500c92f32361cf1e7d2590ec37.zip
Implement ItemPeopleView
Diffstat (limited to 'Jel/Views/Library/Item/ItemGenresView.swift')
-rw-r--r--Jel/Views/Library/Item/ItemGenresView.swift8
1 files changed, 3 insertions, 5 deletions
diff --git a/Jel/Views/Library/Item/ItemGenresView.swift b/Jel/Views/Library/Item/ItemGenresView.swift
index 5bfccb0..4e8321f 100644
--- a/Jel/Views/Library/Item/ItemGenresView.swift
+++ b/Jel/Views/Library/Item/ItemGenresView.swift
@@ -20,6 +20,7 @@ struct ItemGenresView: View {
VStack(alignment: .leading) {
Text("Genres")
.font(.title2)
+ .padding(.horizontal)
ScrollView(.horizontal) {
HStack {
@@ -43,18 +44,15 @@ struct ItemGenresView: View {
.clipShape(.capsule)
}
}
+ .padding(.horizontal)
}
+ .scrollIndicators(.hidden)
}
.onAppear {
Task {
let parameters = Paths.GetItemsParameters(
userID: authState.userId ?? "",
isRecursive: true,
- fields: [.primaryImageAspectRatio,
- .genres,
- .taglines,
- .overview,
- .parentID],
includeItemTypes: [.movie, .series],
genres: item.genres ?? []
)