Skip to content

Commit

Permalink
[iOS & tvOS] Series Extras (#1398)
Browse files Browse the repository at this point in the history
  • Loading branch information
JPKribs authored Jan 17, 2025
1 parent f9ebebe commit 1530668
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 1530668

Please sign in to comment.