mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-16 07:06:14 +08:00
@@ -38,7 +38,7 @@ class BlackListController
|
||||
return false;
|
||||
}
|
||||
|
||||
Future onRemove(BuildContext context, int index, name, mid) async {
|
||||
void onRemove(BuildContext context, int index, name, mid) {
|
||||
showConfirmDialog(
|
||||
context: context,
|
||||
title: '确定将 $name 移出黑名单?',
|
||||
|
||||
@@ -40,7 +40,7 @@ class _BlackListPageState extends State<BlackListPage> {
|
||||
),
|
||||
),
|
||||
body: refreshIndicator(
|
||||
onRefresh: () async => await _blackListController.onRefresh(),
|
||||
onRefresh: _blackListController.onRefresh,
|
||||
child: CustomScrollView(
|
||||
physics: const AlwaysScrollableScrollPhysics(),
|
||||
controller: _blackListController.scrollController,
|
||||
|
||||
Reference in New Issue
Block a user