mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
fix: handleWebview
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -373,7 +373,7 @@ class Utils {
|
||||
bool inApp = false,
|
||||
}) {
|
||||
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)) {
|
||||
toDupNamed(
|
||||
'/webview',
|
||||
|
||||
Reference in New Issue
Block a user