mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-24 11:06:51 +08:00
fix: in-app webview
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -244,7 +244,7 @@ class _WebviewPageNewState extends State<WebviewPageNew> {
|
||||
}
|
||||
: null,
|
||||
shouldOverrideUrlLoading: (controller, navigationAction) async {
|
||||
if (_inApp == false) {
|
||||
if (_inApp == true) {
|
||||
return NavigationActionPolicy.ALLOW;
|
||||
}
|
||||
late String url = navigationAction.request.url.toString();
|
||||
|
||||
Reference in New Issue
Block a user