opt player gesture

Closes #1427

opt dyn/reply check

Closes #1430

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-10-02 21:58:44 +08:00
parent d69d81912d
commit bdbd6cd377
5 changed files with 46 additions and 42 deletions

View File

@@ -105,29 +105,30 @@ class ReplyUtils {
title: const Text('评论检查结果'),
content: SelectableText(message),
actions: [
TextButton(
onPressed: () {
Get.back();
String? uri;
switch (type) {
case 1:
uri = IdUtils.av2bv(oid);
case 17:
uri = 'https://www.bilibili.com/opus/$oid';
}
if (uri != null) {
Utils.copyText(uri);
}
Get.toNamed(
'/webview',
parameters: {
'url':
'https://www.bilibili.com/h5/comment/appeal?native.theme=2&night=${Get.isDarkMode ? 1 : 0}',
},
);
},
child: const Text('申诉'),
),
if (isBan)
TextButton(
onPressed: () {
Get.back();
String? uri;
switch (type) {
case 1:
uri = IdUtils.av2bv(oid);
case 17:
uri = 'https://www.bilibili.com/opus/$oid';
}
if (uri != null) {
Utils.copyText(uri);
}
Get.toNamed(
'/webview',
parameters: {
'url':
'https://www.bilibili.com/h5/comment/appeal?native.theme=2&night=${Get.isDarkMode ? 1 : 0}',
},
);
},
child: const Text('申诉'),
),
TextButton(
onPressed: Get.back,
child: const Text('关闭'),