mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-05-21 00:28:38 +00:00
@@ -26,7 +26,7 @@ class FavCheeseController
|
||||
Future<LoadingState<SpaceCheeseData>> customGetData() =>
|
||||
FavHttp.favPugv(mid: mid, page: page);
|
||||
|
||||
Future<void> onRemove(int index, int sid) async {
|
||||
Future<void> onRemove(int index, int? sid) async {
|
||||
var res = await FavHttp.delFavPugv(sid);
|
||||
if (res['status']) {
|
||||
loadingState
|
||||
|
||||
@@ -68,7 +68,7 @@ class _FavCheesePageState extends State<FavCheesePage>
|
||||
context: context,
|
||||
title: '确定取消收藏该课堂?',
|
||||
onConfirm: () =>
|
||||
_controller.onRemove(index, item.seasonId!),
|
||||
_controller.onRemove(index, item.seasonId),
|
||||
),
|
||||
);
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user