feat: for tvOS

This commit is contained in:
2026-02-26 22:45:05 +08:00
parent 03b7a8bf25
commit cd8c3afd7d
13 changed files with 208 additions and 6 deletions

View File

@@ -5,9 +5,15 @@ struct EpisodeListView: View {
let selectedIndex: Int
let onSelect: (Int) -> Void
#if os(tvOS)
private let columns = [
GridItem(.adaptive(minimum: 120, maximum: 160), spacing: 12)
]
#else
private let columns = [
GridItem(.adaptive(minimum: 70, maximum: 100), spacing: 8)
]
#endif
var body: some View {
VStack(alignment: .leading, spacing: 8) {