mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-21 01:26:59 +08:00
opt: unify fav & coin of video & pgc (#916)
This commit is contained in:
committed by
GitHub
parent
e945daba3a
commit
05c9269531
@@ -33,11 +33,7 @@ class _FavPanelState extends State<FavPanel> {
|
||||
Future<void> _query() async {
|
||||
var res = await widget.ctr.queryVideoInFolder();
|
||||
if (mounted) {
|
||||
if (res['status']) {
|
||||
loadingState = const Success(null);
|
||||
} else {
|
||||
loadingState = Error(res['msg']);
|
||||
}
|
||||
loadingState = res;
|
||||
setState(() {});
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user