Fix hero poster pinned to top in EnhancedShowEpisodesView

Co-authored-by: scigward <162128369+scigward@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot] 2026-02-20 10:59:52 +00:00
parent a8b7728281
commit a17cd250bb

View file

@ -1108,6 +1108,7 @@ struct EnhancedShowEpisodesView: View {
@ViewBuilder
private var heroImageSection: some View {
VStack(spacing: 0) {
if let posterURL = group.posterURL {
LazyImage(url: posterURL) { state in
if let uiImage = state.imageContainer?.image {
@ -1127,6 +1128,8 @@ struct EnhancedShowEpisodesView: View {
.frame(maxWidth: .infinity, maxHeight: 400)
.clipped()
}
Spacer()
}
}
private var placeholderGradient: some View {