opt: history item menu

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-01-06 09:26:48 +08:00
parent a9c542ac4e
commit 242fde92f6

View File

@@ -373,7 +373,8 @@ class HistoryItem extends StatelessWidget {
onSelected: (String type) {}, onSelected: (String type) {},
itemBuilder: (BuildContext context) => itemBuilder: (BuildContext context) =>
<PopupMenuEntry<String>>[ <PopupMenuEntry<String>>[
if (videoItem.badge != '番剧' && if (videoItem.history?.business != 'pgc' &&
videoItem.badge != '番剧' &&
!videoItem.tagName.contains('动画') && !videoItem.tagName.contains('动画') &&
videoItem.history.business != 'live' && videoItem.history.business != 'live' &&
!videoItem.history.business.contains('article')) !videoItem.history.business.contains('article'))