mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-05-21 16:48:43 +00:00
opt: select (#937)
This commit is contained in:
committed by
GitHub
parent
afb09e8a0a
commit
01552801f2
@@ -378,7 +378,7 @@ class VideoDetailController extends GetxController
|
||||
? (item, index) async {
|
||||
if (sourceType == SourceType.watchLater) {
|
||||
var res = await UserHttp.toViewDel(
|
||||
aids: [item.aid],
|
||||
aids: [item.aid!],
|
||||
);
|
||||
if (res['status']) {
|
||||
mediaList.removeAt(index);
|
||||
|
||||
@@ -42,7 +42,7 @@ class MediaListPanel extends CommonCollapseSlidePage {
|
||||
final bool desc;
|
||||
final VoidCallback onReverse;
|
||||
final RefreshCallback? loadPrevious;
|
||||
final Function(dynamic item, int index)? onDelete;
|
||||
final Function(MediaListItemModel item, int index)? onDelete;
|
||||
|
||||
@override
|
||||
State<MediaListPanel> createState() => _MediaListPanelState();
|
||||
|
||||
Reference in New Issue
Block a user