mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-24 11:06:51 +08:00
opt: delete history
This commit is contained in:
@@ -129,7 +129,7 @@ class FavSearchController extends CommonController {
|
||||
resKid = 'article_$kid';
|
||||
}
|
||||
|
||||
var res = await UserHttp.delHistory(resKid);
|
||||
var res = await UserHttp.delHistory([resKid]);
|
||||
if (res['status']) {
|
||||
List historyList = (loadingState.value as Success).response;
|
||||
historyList.removeWhere((e) => e.kid == kid);
|
||||
|
||||
Reference in New Issue
Block a user