increase height to fit titles, remove condition

This commit is contained in:
jhays 2021-09-29 11:50:49 -05:00
parent abc85ea7d5
commit 00e8d191aa
1 changed files with 1 additions and 3 deletions

View File

@ -42,15 +42,13 @@ struct LatestMediaView: View {
LazyHStack {
Spacer().frame(width: 45)
ForEach(items, id: \.id) { item in
if item.type == "Series" || item.type == "Movie" {
NavigationLink(destination: LazyView { ItemView(item: item) }) {
PortraitItemElement(item: item)
}.buttonStyle(PlainNavigationLinkButtonStyle())
}
}
Spacer().frame(width: 45)
}
}.frame(height: 350)
}.frame(height: 396)
.onAppear(perform: onAppear)
}
}