fix(ui): make download file deletion explicit in task dialog (#1622) (#1638)

This commit is contained in:
Codess authored and GitHub committed 2026-11-03 09:27:30 +08:00
1 parent d69874e13e
commit ebfd113360
29 files changed
+44 -39

No files matched your search

@@ -222,7 +222,7 @@ class ExtraConfig {
this.themeMode = '',
this.themeColor = 'green',
this.locale = '',
this.lastDeleteTaskKeep = false,
this.lastDeleteTaskKeep = true,
this.defaultDirectDownload = false,
this.defaultBtClient = true,
this.notifyWhenNewVersion = true,
@@ -186,7 +186,7 @@ ExtraConfig _$ExtraConfigFromJson(Map<String, dynamic> json) => ExtraConfig(
themeMode: json['themeMode'] as String? ?? '',
themeColor: json['themeColor'] as String? ?? 'green',
locale: json['locale'] as String? ?? '',
lastDeleteTaskKeep: json['lastDeleteTaskKeep'] as bool? ?? false,
lastDeleteTaskKeep: json['lastDeleteTaskKeep'] as bool? ?? true,
defaultDirectDownload: json['defaultDirectDownload'] as bool? ?? false,
defaultBtClient: json['defaultBtClient'] as bool? ?? true,
notifyWhenNewVersion: json['notifyWhenNewVersion'] as bool? ?? true,