mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
fix: in-app webview
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -46,7 +46,7 @@ class VideoDetailData {
|
|||||||
List<DescV2>? descV2;
|
List<DescV2>? descV2;
|
||||||
int? state;
|
int? state;
|
||||||
int? duration;
|
int? duration;
|
||||||
Map<String, int>? rights;
|
Map? rights;
|
||||||
Owner? owner;
|
Owner? owner;
|
||||||
Stat? stat;
|
Stat? stat;
|
||||||
String? argueMsg;
|
String? argueMsg;
|
||||||
|
|||||||
@@ -244,7 +244,7 @@ class _WebviewPageNewState extends State<WebviewPageNew> {
|
|||||||
}
|
}
|
||||||
: null,
|
: null,
|
||||||
shouldOverrideUrlLoading: (controller, navigationAction) async {
|
shouldOverrideUrlLoading: (controller, navigationAction) async {
|
||||||
if (_inApp == false) {
|
if (_inApp == true) {
|
||||||
return NavigationActionPolicy.ALLOW;
|
return NavigationActionPolicy.ALLOW;
|
||||||
}
|
}
|
||||||
late String url = navigationAction.request.url.toString();
|
late String url = navigationAction.request.url.toString();
|
||||||
|
|||||||
Reference in New Issue
Block a user