iOS Duo: same vertical tab bar on every tab, docked Now Playing keeps its size, folded Now Playing fills the window (dev 28)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
rootandClaude Opus 5.5 committed 2026-11-18 15:29:03 -08:00
1 parent 09d8caface
commit 09bf1b2835
4 files changed
+5 -22

No files matched your search

-14
View File
@@ -144,20 +144,6 @@ private struct MiniPlayerRoom: ViewModifier {
content.safeAreaInset(edge: .bottom, spacing: 0) {
if !glassAccessory && !ui.split && g.playback.current != nil { Color.clear.frame(height: 66) }
}
.modifier(PaneToolbar())
}
}
/// Split, each pane is phone-sized, so its nav bar stays across the top instead of moving into
/// the Duo's vertical bar (the tab bar still goes there).
private struct PaneToolbar: ViewModifier {
@Environment(Ui.self) private var ui
func body(content: Content) -> some View {
if #available(iOS 27.1, *) {
content.toolbarVerticalBehavior(ui.split ? .disabled : .automatic)
} else {
content
}
}
}