Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2026-01-02 12:05:31 +08:00
parent 80e007bac6
commit 041af37bb0
67 changed files with 775 additions and 838 deletions

View File

@@ -595,17 +595,17 @@ class _EpisodePanelState extends State<EpisodePanel>
? const Icon(Icons.notifications_off_outlined)
: const Icon(Icons.notifications_active_outlined),
onPressed: () async {
final result = await FavHttp.seasonFav(
final res = await FavHttp.seasonFav(
isFav: response,
seasonId: widget.seasonId,
);
if (result.isSuccess) {
if (res.isSuccess) {
SmartDialog.showToast('${response ? '取消' : ''}订阅成功');
_favState!.value = Success(!response);
widget.ugcIntroController?.seasonFavState[widget.seasonId] =
!response;
} else {
result.toast();
res.toast();
}
},
),