Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-10-13 10:43:18 +08:00
parent 510bfe01be
commit 897fda875a
7 changed files with 137 additions and 121 deletions

View File

@@ -78,6 +78,7 @@ class HeaderControl extends StatefulWidget {
);
if (res.isSuccess) {
extra.isLike = !extra.isLike;
SmartDialog.showToast('点赞成功');
return true;
} else {
res.toast();
@@ -2011,7 +2012,7 @@ class HeaderControlState extends State<HeaderControl> {
},
icon: extra.isLike
? const Icon(Icons.thumb_up_off_alt_sharp)
: const Icon(Icons.thumb_up_off_alt_rounded),
: const Icon(Icons.thumb_up_off_alt_outlined),
),
),
if (item.content.selfSend)