mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-26 03:56:45 +08:00
opt handle data
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -83,8 +83,9 @@ class _FavVideoPageState extends State<FavVideoPage>
|
||||
},
|
||||
);
|
||||
if (res == true) {
|
||||
_favController.loadingState.value.data!.removeAt(index);
|
||||
_favController.loadingState.refresh();
|
||||
_favController.loadingState
|
||||
..value.data!.removeAt(index)
|
||||
..refresh();
|
||||
}
|
||||
},
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user