mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-05-04 09:09:48 +08:00
auto add to created fav/follow
Signed-off-by: dom <githubaccount56556@proton.me>
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user