mirror of
https://github.com/cranci1/Sora.git
synced 2026-04-21 16:42:01 +00:00
Fix hero poster pinned to top in EnhancedShowEpisodesView
Co-authored-by: scigward <162128369+scigward@users.noreply.github.com>
This commit is contained in:
parent
a8b7728281
commit
a17cd250bb
1 changed files with 17 additions and 14 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in a new issue