iOS: section reorder and visibility, CarPlay downloads fix, stem playlist refresh fix

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
rootandClaude Sonnet 5.5 committed 2026-10-28 16:30:30 -07:00
1 parent 3e832e3125
commit 5b7fadb7f7
6 files changed
+122 -31

No files matched your search

+1 -5
View File
@@ -1005,17 +1005,13 @@ struct TabBarScreen: View {
.themedRow()
.deleteDisabled(t == .Settings)
}
.onMove { from, to in
shown.move(fromOffsets: from, toOffset: to)
commit()
}
.onDelete { idx in
let gone = Set(idx.map { shown[$0] }).subtracting([.Settings])
shown.removeAll { gone.contains($0) }
if shown.count < 2 { shown = Tab.defaultLayout }
commit()
}
} header: { Header(text: "In the bar") } footer: { Footer(text: "Drag to reorder, swipe to remove. The bar holds \(Tab.maxVisible) tabs.") }
} header: { Header(text: "In the bar") } footer: { Footer(text: "Swipe to remove. The bar holds \(Tab.maxVisible) tabs.") }
if !hidden.isEmpty {
Section {
ForEach(hidden, id: \.self) { t in