fix fav favFolder toast

Signed-off-by: dom <githubaccount56556@proton.me>
This commit is contained in:
dom
2026-05-24 09:34:58 +08:00
parent dd85aba8a9
commit 87914a267a

View File

@@ -184,9 +184,11 @@ class FavDetailController
folderInfo
..value.favState = isFav ? 0 : 1
..refresh();
}
SmartDialog.showToast('${isFav ? '取消' : ''}收藏成功');
} else {
res.toast();
}
}
Future<void> cleanFav() async {
final res = await FavHttp.cleanFav(mediaId: mediaId);