diff --git a/lib/common/widgets/video_card_h.dart b/lib/common/widgets/video_card_h.dart index 9f9cfc75..6109e37f 100644 --- a/lib/common/widgets/video_card_h.dart +++ b/lib/common/widgets/video_card_h.dart @@ -189,7 +189,6 @@ class VideoContent extends StatelessWidget { ? Theme.of(context).colorScheme.primary : Theme.of(context).colorScheme.onSurface, ), - semanticsLabel: i['text'] as String, ), ] ], diff --git a/lib/utils/utils.dart b/lib/utils/utils.dart index 32ee19e0..f6e3fed8 100644 --- a/lib/utils/utils.dart +++ b/lib/utils/utils.dart @@ -80,7 +80,12 @@ class Utils { semanticsLabel += '番剧,'; } } - semanticsLabel += '${videoItem.title}'; + if (videoItem.title is String) { + semanticsLabel += videoItem.title; + } else { + semanticsLabel += videoItem.title.map((e) => e['text'] as String).join(''); + } + if (!emptyStatCheck(videoItem.stat.view)) { semanticsLabel += ',${Utils.numFormat(videoItem.stat.view)}'; semanticsLabel +=