mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
view later (#419)
This commit is contained in:
committed by
GitHub
parent
59797a2f5f
commit
99cdec62a1
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user