Remove the tracks details panel page

The quality selector sheet already covers quality, audio, subtitles and
rate, so the embedded tracks page duplicated it. Drop the page type, its
per-page settings, the editor toggles, and the visibleSections plumbing
in QualitySelectorView.
This commit is contained in:
Arkadiusz Fal
2026-09-25 20:26:09 +02:00
parent 1fe1c2cd74
commit f6ba35c1f5
11 changed files with 15 additions and 262 deletions

View File

@@ -891,15 +891,6 @@ final class PlayerControlsSettingsViewModel {
}
}
/// Synchronously updates the tracks page element toggles.
func updatePanelTracksSettingsSync(_ mutation: (inout TracksPageSettings) -> Void) {
updatePanelSettingsSync { settings in
var tracks = settings.configuration(for: .tracks)?.tracksSettings ?? TracksPageSettings()
mutation(&tracks)
settings.updateSettings(.tracks(tracks), for: .tracks)
}
}
/// Whether the page bar shows labels next to icons.
var panelShowPageBarLabels: Bool {
panelSettings.effectiveShowPageBarLabels