iOS dev 30: hide Duo swap, Library Layout in Settings, Settings width on Duo, centred stem faders, folded spacing, no folded header menu
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
29a1742f8d
commit
150e47a305
8 files changed
+130
-84
No files matched your search
@@ -65,9 +65,15 @@ extension View {
|
||||
|
||||
private struct ThemedList: ViewModifier {
|
||||
@Environment(\.palette) private var p
|
||||
@Environment(Ui.self) private var ui
|
||||
let grouped: Bool
|
||||
func body(content: Content) -> some View {
|
||||
content.scrollContentBackground(.hidden).background(grouped ? p.groupedBg : p.bg)
|
||||
content.scrollContentBackground(.hidden)
|
||||
// Split on the Duo the window is wide enough to count as regular, so inset lists took
|
||||
// iPad-sized margins. Each pane is phone-sized, so lay lists out like a phone.
|
||||
.transformEnvironment(\.horizontalSizeClass) { if ui.split { $0 = .compact } }
|
||||
.modifier(HingeEdge())
|
||||
.background(grouped ? p.groupedBg : p.bg)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user