mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-18 16:16:14 +08:00
@@ -22,6 +22,7 @@ class BlackListController
|
||||
|
||||
@override
|
||||
List<BlackListItem>? getDataList(BlackListData response) {
|
||||
total.value = response.total ?? 0;
|
||||
return response.list;
|
||||
}
|
||||
|
||||
@@ -32,12 +33,6 @@ class BlackListController
|
||||
}
|
||||
}
|
||||
|
||||
@override
|
||||
bool customHandleResponse(bool isRefresh, Success<BlackListData> response) {
|
||||
total.value = response.response.total ?? 0;
|
||||
return false;
|
||||
}
|
||||
|
||||
void onRemove(BuildContext context, int index, name, mid) {
|
||||
showConfirmDialog(
|
||||
context: context,
|
||||
|
||||
Reference in New Issue
Block a user