mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-05-05 09:37:52 +08:00
auto add to created fav/follow
Signed-off-by: dom <githubaccount56556@proton.me>
This commit is contained in:
@@ -176,7 +176,9 @@ class _GroupPanelState extends State<GroupPanel> {
|
||||
void _onCreateFavTag(({int tagid, String tagName}) res) {
|
||||
if (!mounted) return;
|
||||
if (loadingState case Success(:final response)) {
|
||||
response.add(MemberTagItemModel.fromCreate(res));
|
||||
response.add(MemberTagItemModel.fromCreate(res, count: 1));
|
||||
tags.add(res.tagid);
|
||||
showDefaultBtn.value = false;
|
||||
setState(() {});
|
||||
} else {
|
||||
_queryFollowUpTags();
|
||||
|
||||
Reference in New Issue
Block a user