Signed-off-by: dom <githubaccount56556@proton.me>
This commit is contained in:
dom
2026-01-15 12:24:39 +08:00
parent cb58822009
commit bdc524e486
29 changed files with 223 additions and 248 deletions

View File

@@ -435,10 +435,9 @@ class VideoDetailController extends GetxController
final res = await UserHttp.toViewDel(
aids: item.aid.toString(),
);
if (res['status']) {
if (res.isSuccess) {
mediaList.removeAt(index);
}
SmartDialog.showToast(res['msg']);
} else {
final res = await FavHttp.favVideo(
resources: '${item.aid}:${item.type}',