opt: webview to video

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-02-08 22:56:43 +08:00
parent 9a3766e7b7
commit 7cfebcb6ed
7 changed files with 68 additions and 54 deletions

View File

@@ -310,10 +310,7 @@ Widget forWard(item, context, source, callback, {floor = 1}) {
if (url.contains('bangumi/play') && Utils.viewPgcFromUri(url)) {
return;
}
Get.toNamed(
'/webview',
parameters: {'url': url},
);
Utils.handleWebview(url, inApp: true);
} catch (_) {}
},
child: Container(