mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
@@ -22,7 +22,10 @@ void showConfirmDialog({
|
||||
),
|
||||
),
|
||||
TextButton(
|
||||
onPressed: onConfirm,
|
||||
onPressed: () {
|
||||
Get.back();
|
||||
onConfirm();
|
||||
},
|
||||
child: Text('确认'),
|
||||
),
|
||||
],
|
||||
|
||||
@@ -143,7 +143,6 @@ class BlackListController extends CommonController {
|
||||
context: context,
|
||||
title: '确定将 $name 移出黑名单?',
|
||||
onConfirm: () async {
|
||||
Get.back();
|
||||
var result = await VideoHttp.relationMod(mid: mid, act: 6, reSrc: 11);
|
||||
if (result['status']) {
|
||||
List list = (loadingState.value as Success).response;
|
||||
|
||||
@@ -245,7 +245,6 @@ class _FavDetailPageState extends State<FavDetailPage> {
|
||||
context: context,
|
||||
title: '确定删除该收藏夹?',
|
||||
onConfirm: () {
|
||||
Get.back();
|
||||
UserHttp.deleteFolder(
|
||||
mediaIds: [mediaId])
|
||||
.then((data) {
|
||||
|
||||
@@ -92,7 +92,6 @@ class LaterController extends MultiSelectController {
|
||||
if (res['status']) {
|
||||
loadingState.value = LoadingState.success([]);
|
||||
}
|
||||
Get.back();
|
||||
SmartDialog.showToast(res['msg']);
|
||||
},
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user