mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-05-26 11:08:44 +00:00
fix fav favFolder toast
Signed-off-by: dom <githubaccount56556@proton.me>
This commit is contained in:
@@ -184,9 +184,11 @@ class FavDetailController
|
|||||||
folderInfo
|
folderInfo
|
||||||
..value.favState = isFav ? 0 : 1
|
..value.favState = isFav ? 0 : 1
|
||||||
..refresh();
|
..refresh();
|
||||||
}
|
SmartDialog.showToast('${isFav ? '取消' : ''}收藏成功');
|
||||||
|
} else {
|
||||||
res.toast();
|
res.toast();
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
Future<void> cleanFav() async {
|
Future<void> cleanFav() async {
|
||||||
final res = await FavHttp.cleanFav(mediaId: mediaId);
|
final res = await FavHttp.cleanFav(mediaId: mediaId);
|
||||||
|
|||||||
Reference in New Issue
Block a user