feat: add "Include Specials" toggle to the show download dialog
The aired-order rework can sweep correctly-placed Specials into "download next N"; this toggle lets users opt out. Shown only for whole shows (reusing FocusableSwitchListTile via an optional toggle on the shared option-picker dialog), remembered across opens via a BoolPref (default on = unchanged behavior). Filters Specials at the single collect choke point (_collectPlayable), with a guard so explicitly downloading the Specials season still queues its episodes.
This commit is contained in:
@@ -383,6 +383,11 @@ class SettingsService extends BaseSharedPreferencesService {
|
||||
static const customDownloadPathType = NullableStringPref('custom_download_path_type');
|
||||
static const downloadOnWifiOnly = BoolPref('download_on_wifi_only');
|
||||
static const autoRemoveWatchedDownloads = BoolPref('auto_remove_watched_downloads');
|
||||
|
||||
/// Remembered state of the "Include Specials" toggle on the show download
|
||||
/// dialog. Defaults to true (include) so existing behavior is unchanged;
|
||||
/// turning it off persists so the next download keeps the choice.
|
||||
static const downloadIncludeSpecials = BoolPref('download_include_specials', defaultValue: true);
|
||||
static const autoCheckUpdatesOnStartup = BoolPref('auto_check_updates_on_startup', defaultValue: true);
|
||||
static const showPerformanceOverlay = BoolPref('show_performance_overlay');
|
||||
static const autoHidePerformanceOverlay = BoolPref('auto_hide_performance_overlay', defaultValue: true);
|
||||
@@ -798,6 +803,7 @@ class SettingsService extends BaseSharedPreferencesService {
|
||||
rememberTrackSelections,
|
||||
customDownloadPathType,
|
||||
downloadOnWifiOnly,
|
||||
downloadIncludeSpecials,
|
||||
autoCheckUpdatesOnStartup,
|
||||
showPerformanceOverlay,
|
||||
autoHidePerformanceOverlay,
|
||||
|
||||
Reference in New Issue
Block a user