opt: triple

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-03-06 10:48:14 +08:00
parent 893fb63a72
commit 86678ec15a
4 changed files with 47 additions and 36 deletions

View File

@@ -2129,10 +2129,9 @@ class _HeaderControlState extends State<HeaderControl> {
videoIntroController.hasLike.value,
semanticsLabel: '点赞',
needAnim: true,
hasOneThree:
videoIntroController.hasLike.value &&
videoIntroController.hasCoin.value &&
videoIntroController.hasFav.value,
hasTriple: videoIntroController.hasLike.value &&
videoIntroController.hasCoin.value &&
videoIntroController.hasFav.value,
callBack: (start) {
if (start) {
HapticFeedback.lightImpact();
@@ -2250,7 +2249,7 @@ class _HeaderControlState extends State<HeaderControl> {
bangumiIntroController.hasLike.value,
semanticsLabel: '点赞',
needAnim: true,
hasOneThree:
hasTriple:
bangumiIntroController.hasLike.value &&
bangumiIntroController.hasCoin.value &&
bangumiIntroController.hasFav.value,