Playlist pages: header rides up into the empty nav bar, bar title hidden (build 64)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
42f5eddb36
commit
b10528d69c
3 files changed
+14
-6
No files matched your search
@@ -315,11 +315,14 @@ struct HingeEdge: ViewModifier {
|
||||
struct Page<Content: View>: View {
|
||||
let title: String
|
||||
var large = true
|
||||
/// Moves the content up into an empty nav bar.
|
||||
var pullUp: CGFloat = 0
|
||||
@ViewBuilder let content: () -> Content
|
||||
@Environment(\.palette) private var p
|
||||
var body: some View {
|
||||
ScrollView {
|
||||
LazyVStack(alignment: .leading, spacing: 0) { content() }
|
||||
.padding(.top, -pullUp)
|
||||
.padding(.bottom, 24)
|
||||
}
|
||||
.modifier(HingeEdge())
|
||||
|
||||
Reference in new issue
Block a user