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

@@ -104,8 +104,10 @@ class _FavSearchPageState extends State<FavSearchPage> {
videoItem: loadingState.response[index],
searchType: _favSearchCtr.type,
callFn: () => _favSearchCtr.type != 1
? _favSearchCtr
.onCancelFav(loadingState.response[index].id!)
? _favSearchCtr.onCancelFav(
loadingState.response[index].id!,
loadingState.response[index].type,
)
: {},
);
}