mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-04-20 11:08:03 +08:00
opt handle res
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -35,7 +35,7 @@ class FavNoteController
|
||||
}
|
||||
|
||||
Future<void> onRemove() async {
|
||||
List<FavNoteModel> dataList = (loadingState.value as Success).response;
|
||||
List<FavNoteModel> dataList = loadingState.value.data!;
|
||||
Set<FavNoteModel> removeList =
|
||||
dataList.where((item) => item.checked == true).toSet();
|
||||
final res = await VideoHttp.delNote(
|
||||
|
||||
Reference in New Issue
Block a user