mod: specify list type

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-04-11 21:31:59 +08:00
parent da35cf471e
commit 9ce9940306
18 changed files with 61 additions and 47 deletions

View File

@@ -294,12 +294,13 @@ class _HistoryPageState extends State<HistoryPage>
if (index == loadingState.response!.length - 1) {
_historyController.onLoadMore();
}
final item = loadingState.response![index];
return HistoryItem(
videoItem: loadingState.response![index],
videoItem: item,
ctr: _historyController.baseCtr,
onChoose: () => _historyController.onSelect(index),
onDelete: (kid, business) =>
_historyController.delHistory(kid, business),
_historyController.delHistory(item),
);
},
childCount: loadingState.response!.length,