opt: member page

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2024-11-20 15:58:11 +08:00
parent 5b02ca44f8
commit 67fc1b7d08
5 changed files with 432 additions and 358 deletions

View File

@@ -24,19 +24,20 @@ class VideoCustomActions {
late List<VideoCustomAction> actions;
VideoCustomActions(this.videoItem, this.context) {
actions = [
VideoCustomAction(
videoItem.bvid,
'copy',
Stack(
children: [
Icon(MdiIcons.identifier, size: 16),
Icon(MdiIcons.circleOutline, size: 16),
],
if ((videoItem.bvid as String?)?.isNotEmpty == true)
VideoCustomAction(
videoItem.bvid,
'copy',
Stack(
children: [
Icon(MdiIcons.identifier, size: 16),
Icon(MdiIcons.circleOutline, size: 16),
],
),
() {
Utils.copyText(videoItem.bvid);
},
),
() {
Utils.copyText(videoItem.bvid);
},
),
VideoCustomAction(
'稍后再看',
'pause',