fix: del fav item

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2024-11-26 12:18:02 +08:00
parent bae22b6de7
commit 16cdbab7ab
6 changed files with 27 additions and 13 deletions

View File

@@ -302,8 +302,10 @@ class _FavDetailPageState extends State<FavDetailPage> {
}
return FavVideoCardH(
videoItem: loadingState.response[index],
callFn: () => _favDetailController
.onCancelFav(loadingState.response[index].id),
callFn: () => _favDetailController.onCancelFav(
loadingState.response[index].id,
loadingState.response[index].type,
),
);
},
childCount: loadingState.response.length + 1,