auto add to created fav/follow

Signed-off-by: dom <githubaccount56556@proton.me>
This commit is contained in:
dom
2026-04-27 19:06:26 +08:00
parent b406a00c8d
commit 89fdc28150
4 changed files with 81 additions and 75 deletions

View File

@@ -90,8 +90,10 @@ class _CreateFavPageState extends State<CreateFavPage> {
intro: _introController.text,
).then((res) {
if (res case Success(:final response)) {
Get.back(result: response);
SmartDialog.showToast('${_mediaId != null ? '编辑' : '创建'}成功');
if (mounted) {
Get.back(result: response);
}
} else {
res.toast();
}