* tweaks

* opt: semantics
This commit is contained in:
My-Responsitories
2026-06-13 02:43:37 +00:00
committed by dom
parent d159488495
commit 1b3f27aa31
23 changed files with 82 additions and 193 deletions

View File

@@ -397,7 +397,6 @@ class _PgcIntroPageState extends State<PgcIntroPage> {
icon: const Icon(FontAwesomeIcons.thumbsUp),
selectIcon: const Icon(FontAwesomeIcons.solidThumbsUp),
selectStatus: introController.hasLike.value,
semanticsLabel: '点赞',
text: NumUtils.numFormat(item.stat!.like),
onStartTriple: introController.onStartTriple,
onCancelTriple: introController.onCancelTriple,
@@ -410,7 +409,6 @@ class _PgcIntroPageState extends State<PgcIntroPage> {
selectIcon: const Icon(FontAwesomeIcons.b),
onTap: introController.actionCoinVideo,
selectStatus: introController.hasCoin,
semanticsLabel: '投币',
text: NumUtils.numFormat(item.stat!.coin),
),
),
@@ -425,7 +423,6 @@ class _PgcIntroPageState extends State<PgcIntroPage> {
isLongPress: true,
),
selectStatus: introController.hasFav.value,
semanticsLabel: '收藏',
text: NumUtils.numFormat(item.stat!.favorite),
),
),
@@ -436,7 +433,6 @@ class _PgcIntroPageState extends State<PgcIntroPage> {
onTap: () =>
introController.handleAction(introController.viewLater),
selectStatus: introController.hasLater.value,
semanticsLabel: '再看',
text: '再看',
),
),
@@ -444,7 +440,6 @@ class _PgcIntroPageState extends State<PgcIntroPage> {
icon: const Icon(FontAwesomeIcons.shareFromSquare),
onTap: () => introController.actionShareVideo(context),
selectStatus: false,
semanticsLabel: '转发',
text: NumUtils.numFormat(item.stat!.share),
),
],