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

@@ -18,9 +18,11 @@ class MemberTagItemModel {
tip = json['tip'];
}
MemberTagItemModel.fromCreate(({int tagid, String tagName}) res) {
MemberTagItemModel.fromCreate(
({int tagid, String tagName}) res, {
this.count = 0,
}) {
tagid = res.tagid;
name = res.tagName;
count = 0;
}
}