revert: toSet (#941)

This commit is contained in:
My-Responsitories
2025-08-05 21:36:21 +08:00
committed by GitHub
parent 80a4c8c24d
commit 9f33488248
7 changed files with 12 additions and 12 deletions

View File

@@ -51,7 +51,7 @@ mixin BaseFavController
content: '确认删除所选收藏吗?',
title: '提示',
onConfirm: () async {
final removeList = allChecked;
final removeList = allChecked.toSet();
var result = await FavHttp.favVideo(
resources: removeList
.map((item) => '${item.id}:${item.type}')