fix: report video

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-04-03 12:02:25 +08:00
parent 2d0e801a1a
commit 64fc995f6b
3 changed files with 16 additions and 15 deletions

View File

@@ -876,12 +876,9 @@ class _VideoDetailPageVState extends State<VideoDetailPageV>
SmartDialog.showToast(
'账号未登录');
} else {
Get.toNamed(
'/webview',
parameters: {
'url':
'https://www.bilibili.com/appeal/?avid=${IdUtils.bv2av(videoDetailController.bvid)}&bvid=${videoDetailController.bvid}'
});
Utils.reportVideo(
videoDetailController
.oid.value);
}
break;
case 'note':
@@ -1466,10 +1463,8 @@ class _VideoDetailPageVState extends State<VideoDetailPageV>
if (!Accounts.main.isLogin) {
SmartDialog.showToast('账号未登录');
} else {
Get.toNamed('/webview', parameters: {
'url':
'https://www.bilibili.com/appeal/?avid=${IdUtils.bv2av(videoDetailController.bvid)}&bvid=${videoDetailController.bvid}'
});
Utils.reportVideo(
videoDetailController.oid.value);
}
break;
case 'note':