view later (#419)

This commit is contained in:
My-Responsitories
2025-03-10 18:46:07 +08:00
committed by GitHub
parent 59797a2f5f
commit 99cdec62a1
4 changed files with 24 additions and 29 deletions

View File

@@ -1058,9 +1058,7 @@ class _VideoDetailPageState extends State<VideoDetailPage>
onSelected: (String type) async {
switch (type) {
case 'later':
var res = await UserHttp.toViewLater(
bvid: videoDetailController.bvid);
SmartDialog.showToast(res['msg']);
await videoIntroController.viewLater();
break;
case 'report':
if (videoDetailController.userInfo == null) {