mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-05-05 01:27:49 +08:00
@@ -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}',
|
||||
|
||||
Reference in New Issue
Block a user