mirror of
https://github.com/yattee/yattee.git
synced 2026-06-07 15:24:21 +00:00
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:
@@ -212,7 +212,12 @@ struct AdvancedSettingsView: View {
|
||||
|
||||
#if os(tvOS)
|
||||
NavigationLink {
|
||||
MPVOptionsSettingsView()
|
||||
TVSidebarDetailContainer(
|
||||
systemImage: "slider.horizontal.3",
|
||||
title: String(localized: "settings.advanced.mpv.options")
|
||||
) {
|
||||
MPVOptionsSettingsView()
|
||||
}
|
||||
} label: {
|
||||
Label(String(localized: "settings.advanced.mpv.options"), systemImage: "slider.horizontal.3")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user