remove usage of private func
This commit is contained in:
parent
06e170d94b
commit
3a901f7945
|
@ -53,10 +53,6 @@ struct SeriesItemView: View {
|
||||||
.fontWeight(.bold)
|
.fontWeight(.bold)
|
||||||
.foregroundColor(.primary)
|
.foregroundColor(.primary)
|
||||||
HStack {
|
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)
|
Text(viewModel.item.officialRating!).font(.subheadline)
|
||||||
.fontWeight(.semibold)
|
.fontWeight(.semibold)
|
||||||
|
@ -137,16 +133,6 @@ struct SeriesItemView: View {
|
||||||
Spacer()
|
Spacer()
|
||||||
}
|
}
|
||||||
}.padding(.top, 50)
|
}.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 {
|
if !viewModel.seasons.isEmpty {
|
||||||
Text("Seasons")
|
Text("Seasons")
|
||||||
.font(.headline)
|
.font(.headline)
|
||||||
|
|
Loading…
Reference in New Issue