mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
@@ -38,9 +38,7 @@ class _LaterViewChildPageState extends State<LaterViewChildPage>
|
||||
Widget build(BuildContext context) {
|
||||
super.build(context);
|
||||
return refreshIndicator(
|
||||
onRefresh: () async {
|
||||
await _laterController.onRefresh();
|
||||
},
|
||||
onRefresh: _laterController.onRefresh,
|
||||
child: CustomScrollView(
|
||||
physics: const AlwaysScrollableScrollPhysics(),
|
||||
controller: _laterController.scrollController,
|
||||
|
||||
@@ -84,8 +84,8 @@ class LaterController extends MultiSelectController<Map, HotVideoItemModel> {
|
||||
}
|
||||
|
||||
// single
|
||||
Future toViewDel(BuildContext context, int index, int? aid) async {
|
||||
await showDialog(
|
||||
void toViewDel(BuildContext context, int index, int? aid) {
|
||||
showDialog(
|
||||
context: context,
|
||||
builder: (context) {
|
||||
return AlertDialog(
|
||||
@@ -165,7 +165,7 @@ class LaterController extends MultiSelectController<Map, HotVideoItemModel> {
|
||||
),
|
||||
),
|
||||
TextButton(
|
||||
onPressed: () async {
|
||||
onPressed: () {
|
||||
Get.back();
|
||||
_onDelete(((loadingState.value as Success).response
|
||||
as List<HotVideoItemModel>)
|
||||
|
||||
Reference in New Issue
Block a user