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

@@ -62,6 +62,16 @@ class Utils {
static final _numRegExp = RegExp(r'([\d\.]+)([千万亿])?');
static void reportVideo(int aid) {
Get.toNamed(
'/webview',
parameters: {
'uaType': 'android',
'url': 'https://www.bilibili.com/appeal/?avid=$aid'
},
);
}
/// 定时关闭
static void scheduleExit(context, isFullScreen, [bool isLive = false]) {
const List<int> scheduleTimeChoices = [0, 15, 30, 45, 60];