fix: handleWebview

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-02-07 16:39:33 +08:00
parent a581945c9e
commit e45a126862

View File

@@ -373,7 +373,7 @@ class Utils {
bool inApp = false, bool inApp = false,
}) { }) {
if (inApp.not && GStorage.openInBrowser) { if (inApp.not && GStorage.openInBrowser) {
if (RegExp(r'^(https?://)?((www|m).)?(bilibili|bv23).com') if (RegExp(r'^(https?://)?((www|m).)?(bilibili|b23).(com|tv)')
.hasMatch(url)) { .hasMatch(url)) {
toDupNamed( toDupNamed(
'/webview', '/webview',