opt pages

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-06-06 13:46:39 +08:00
parent b149ee4998
commit 4a00b45c5c
43 changed files with 261 additions and 227 deletions

View File

@@ -65,7 +65,7 @@ class FavPgcController
SmartDialog.showToast(result['msg']);
}
Future<void> onUpdateList(followStatus) async {
Future<void> onUpdateList(int followStatus) async {
List<FavPgcItemModel> dataList = loadingState.value.data!;
Set<FavPgcItemModel> updateList =
dataList.where((item) => item.checked == true).toSet();
@@ -95,7 +95,7 @@ class FavPgcController
SmartDialog.showToast(res['msg']);
}
Future<void> onUpdate(index, followStatus, seasonId) async {
Future<void> onUpdate(int index, int followStatus, int? seasonId) async {
var result = await VideoHttp.pgcUpdate(
seasonId: [seasonId],
status: followStatus,