mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-05-22 00:58:40 +00:00
@@ -215,12 +215,12 @@ class _FavDetailPageState extends State<FavDetailPage> {
|
||||
context: context,
|
||||
title: '确定删除该收藏夹?',
|
||||
onConfirm: () =>
|
||||
FavHttp.deleteFolder(mediaIds: [mediaId]).then((data) {
|
||||
if (data['status']) {
|
||||
FavHttp.deleteFolder(mediaIds: [mediaId]).then((res) {
|
||||
if (res['status']) {
|
||||
SmartDialog.showToast('删除成功');
|
||||
Get.back(result: true);
|
||||
} else {
|
||||
SmartDialog.showToast(data['msg']);
|
||||
SmartDialog.showToast(res['msg']);
|
||||
}
|
||||
}),
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user