feat: fav topic

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-05-17 21:55:36 +08:00
parent 1d4eabb770
commit d7eb734aaf
55 changed files with 1509 additions and 500 deletions

View File

@@ -49,8 +49,9 @@ class SubController
var res = await UserHttp.cancelSub(
id: subFolderItem.id!, type: subFolderItem.type!);
if (res['status']) {
loadingState.value.data!.remove(subFolderItem);
loadingState.refresh();
loadingState
..value.data!.remove(subFolderItem)
..refresh();
SmartDialog.showToast('取消订阅成功');
} else {
SmartDialog.showToast(res['msg']);