From 3a901f7945afd86e1c6ef4ad052a607f806629da Mon Sep 17 00:00:00 2001 From: jhays Date: Tue, 21 Sep 2021 23:17:30 -0500 Subject: [PATCH] remove usage of private func --- JellyfinPlayer tvOS/SeriesItemView.swift | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) diff --git a/JellyfinPlayer tvOS/SeriesItemView.swift b/JellyfinPlayer tvOS/SeriesItemView.swift index 72fee560..c0d2781d 100644 --- a/JellyfinPlayer tvOS/SeriesItemView.swift +++ b/JellyfinPlayer tvOS/SeriesItemView.swift @@ -53,11 +53,7 @@ struct SeriesItemView: View { .fontWeight(.bold) .foregroundColor(.primary) HStack { - Text(viewModel.getRunYears()).font(.subheadline) - .fontWeight(.medium) - .foregroundColor(.secondary) - .lineLimit(1) - if viewModel.item.officialRating != nil { + if viewModel.item.officialRating != nil { Text(viewModel.item.officialRating!).font(.subheadline) .fontWeight(.semibold) .foregroundColor(.secondary) @@ -137,16 +133,6 @@ struct SeriesItemView: View { Spacer() } }.padding(.top, 50) - - if viewModel.nextUpItem != nil { - Text("Next Up") - .font(.headline) - .fontWeight(.semibold) - NavigationLink(destination: ItemView(item: viewModel.nextUpItem!)) { - LandscapeItemElement(item: viewModel.nextUpItem!) - }.buttonStyle(PlainNavigationLinkButtonStyle()).padding(.bottom, 1) - } - if !viewModel.seasons.isEmpty { Text("Seasons") .font(.headline)