Duo: fill folded Now Playing and hinge-side panes, centre stems, fit all faders

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
rootandClaude Opus 5.5 committed 2026-11-18 16:45:44 -08:00
1 parent 09bf1b2835
commit 29a1742f8d
4 files changed
+18 -2

No files matched your search

+4
View File
@@ -304,11 +304,15 @@ struct Page<Content: View>: View {
var large = true
@ViewBuilder let content: () -> Content
@Environment(\.palette) private var p
@Environment(Ui.self) private var ui
@AppStorage("duoSwap") private var swap = false
var body: some View {
ScrollView {
LazyVStack(alignment: .leading, spacing: 0) { content() }
.padding(.bottom, 24)
}
// Split at the iPhone Duo's hinge, rows run right up to it (no inset is real on that side).
.ignoresSafeArea(.container, edges: ui.split ? (swap ? .leading : .trailing) : [])
.background(p.bg)
.navigationTitle(title)
.navigationBarTitleDisplayMode(large ? .large : .inline)