Fix tvOS MPV Options focus and Add/Edit sheet layout

Wrap pushed view in TVSidebarDetailContainer, list custom options
first so focus engages on a row, mark default options focusable so the
list scrolls. Replace toolbar-based Add/Edit sheets with padded VStacks
and inline confirm buttons. Cache customMPVOptions in @Observable
backing storage so writes refresh the list immediately.
This commit is contained in:
Arkadiusz Fal
2026-05-09 18:11:59 +02:00
parent 06ae5ac053
commit d0297a5e89
4 changed files with 112 additions and 1 deletions

View File

@@ -117,6 +117,9 @@ final class SettingsManager {
// Top Shelf (tvOS)
var _topShelfSections: [TopShelfSection]?
// Custom MPV options (local-only)
var _customMPVOptions: [String: String]?
// Tab bar settings (compact size class only - iOS)
var _tabBarItemOrder: [TabBarItem]?
var _tabBarItemVisibility: [TabBarItem: Bool]?