blob: 6e2a9746959779894a9963634121d41053eea9a0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
//
// ItemPeopleView.swift
// Jel
//
// Created by zerocool on 1/8/24.
//
import SwiftUI
import JellyfinKit
import NukeUI
struct ItemPeopleView: View {
var item: BaseItemDto
var body: some View {
VStack(alignment: .leading) {
Text("Cast and Crew")
.font(.title2)
.padding(.leading)
ScrollView(.horizontal) {
LazyHStack(alignment: .top) {
ForEach(item.people ?? [], id: \.iterId) {person in
ItemPersonIconView(person: person)
}
}
.padding(.horizontal)
}
.scrollIndicators(.hidden)
}
}
}
//#Preview {
// ItemPeopleView()
//}
|