increase height to fit titles, remove condition
This commit is contained in:
parent
abc85ea7d5
commit
00e8d191aa
|
@ -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)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue