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
@@ -94,6 +94,7 @@ struct RootView: View {
|
||||
case .Appearance: AppearanceScreen()
|
||||
case .NowPlayingOptions: NowPlayingOptionsScreen()
|
||||
case .StemEditor: StemEditorScreen()
|
||||
case .LibraryLayout: LibraryLayoutScreen()
|
||||
case .About: AboutScreen()
|
||||
case .ArtistPage(let a): ArtistScreen(artist: a)
|
||||
case .AlbumPage(let a): AlbumScreen(album: a)
|
||||
@@ -165,7 +166,7 @@ private struct DuoPane<Content: View>: View {
|
||||
var body: some View {
|
||||
GeometryReader { geo in
|
||||
let cut = Self.cut(geo)
|
||||
let flip = swap && cut?.vertical == true
|
||||
let flip = duoSwapEnabled && swap && cut?.vertical == true
|
||||
let layout = cut?.vertical == false ? AnyLayout(VStackLayout(spacing: cut?.gap ?? 0)) : AnyLayout(HStackLayout(spacing: cut?.gap ?? 0))
|
||||
layout {
|
||||
content
|
||||
|
||||
Reference in new issue
Block a user