* fix: 1080p

* opt: import export

* opt: downloader

* opt: skeleton

* opt: parseColor

* tweak

* opt: sb seek

* opt: rxn
This commit is contained in:
My-Responsitories
2026-05-08 12:50:43 +00:00
committed by GitHub
parent b7b40c557e
commit f5dbfcec79
30 changed files with 258 additions and 376 deletions

View File

@@ -57,16 +57,16 @@ class _DownloadSearchPageState
TextButton(
style: TextButton.styleFrom(visualDensity: VisualDensity.compact),
onPressed: () async {
final allChecked = controller.allChecked.toSet();
final future = controller.allChecked
.map(
(e) => _downloadService.downloadDanmaku(
entry: e,
isUpdate: true,
),
)
.toList();
controller.handleSelect();
final res = await Future.wait(
allChecked.map(
(e) => _downloadService.downloadDanmaku(
entry: e,
isUpdate: true,
),
),
);
final res = await Future.wait(future);
if (res.every((e) => e)) {
SmartDialog.showToast('更新成功');
} else {