mirror of
https://github.com/yattee/yattee.git
synced 2026-10-23 21:22:53 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user