mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-06-01 00:28:18 +08:00
feat: show video note list
Closes #376 Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -1104,6 +1104,9 @@ class _VideoDetailPageState extends State<VideoDetailPage>
|
||||
});
|
||||
}
|
||||
break;
|
||||
case 'note':
|
||||
videoDetailController.showNoteList();
|
||||
break;
|
||||
}
|
||||
},
|
||||
itemBuilder: (BuildContext context) =>
|
||||
@@ -1112,6 +1115,11 @@ class _VideoDetailPageState extends State<VideoDetailPage>
|
||||
value: 'later',
|
||||
child: Text('稍后再看'),
|
||||
),
|
||||
if (videoDetailController.epId == null)
|
||||
const PopupMenuItem<String>(
|
||||
value: 'note',
|
||||
child: Text('查看笔记'),
|
||||
),
|
||||
const PopupMenuItem<String>(
|
||||
value: 'report',
|
||||
child: Text('举报'),
|
||||
|
||||
Reference in New Issue
Block a user