From 8c90b7addf87e9e07d69809a50939ce28b9814ee Mon Sep 17 00:00:00 2001 From: Joe Date: Thu, 16 Jan 2025 14:33:49 -0700 Subject: [PATCH] iOS, iPadOS, tvOS. --- .../ItemView/SeriesItemView/SeriesItemContentView.swift | 4 ++++ .../iOS/SeriesItemView/SeriesItemContentView.swift | 8 ++++++++ .../SeriesItemView/iPadOSSeriesItemContentView.swift | 8 ++++++++ 3 files changed, 20 insertions(+) diff --git a/Swiftfin tvOS/Views/ItemView/SeriesItemView/SeriesItemContentView.swift b/Swiftfin tvOS/Views/ItemView/SeriesItemView/SeriesItemContentView.swift index bcd00e1c5..324ca87bc 100644 --- a/Swiftfin tvOS/Views/ItemView/SeriesItemView/SeriesItemContentView.swift +++ b/Swiftfin tvOS/Views/ItemView/SeriesItemView/SeriesItemContentView.swift @@ -37,6 +37,10 @@ extension SeriesItemView { ItemView.CastAndCrewHStack(people: castAndCrew) } + if viewModel.specialFeatures.isNotEmpty { + ItemView.SpecialFeaturesHStack(items: viewModel.specialFeatures) + } + if viewModel.similarItems.isNotEmpty { ItemView.SimilarItemsHStack(items: viewModel.similarItems) } diff --git a/Swiftfin/Views/ItemView/iOS/SeriesItemView/SeriesItemContentView.swift b/Swiftfin/Views/ItemView/iOS/SeriesItemView/SeriesItemContentView.swift index 9c33ff874..0fd2101ae 100644 --- a/Swiftfin/Views/ItemView/iOS/SeriesItemView/SeriesItemContentView.swift +++ b/Swiftfin/Views/ItemView/iOS/SeriesItemView/SeriesItemContentView.swift @@ -52,6 +52,14 @@ extension SeriesItemView { RowDivider() } + // MARK: Special Features + + if viewModel.specialFeatures.isNotEmpty { + ItemView.SpecialFeaturesHStack(items: viewModel.specialFeatures) + + RowDivider() + } + // MARK: Similar if viewModel.similarItems.isNotEmpty { diff --git a/Swiftfin/Views/ItemView/iPadOS/SeriesItemView/iPadOSSeriesItemContentView.swift b/Swiftfin/Views/ItemView/iPadOS/SeriesItemView/iPadOSSeriesItemContentView.swift index 13c833de5..d08781bd5 100644 --- a/Swiftfin/Views/ItemView/iPadOS/SeriesItemView/iPadOSSeriesItemContentView.swift +++ b/Swiftfin/Views/ItemView/iPadOS/SeriesItemView/iPadOSSeriesItemContentView.swift @@ -49,6 +49,14 @@ extension iPadOSSeriesItemView { RowDivider() } + // MARK: Special Features + + if viewModel.specialFeatures.isNotEmpty { + ItemView.SpecialFeaturesHStack(items: viewModel.specialFeatures) + + RowDivider() + } + // MARK: Similar if viewModel.similarItems.isNotEmpty {