downloads router page bugfix

This commit is contained in:
DASHU
2025-05-09 00:02:32 +08:00
parent 323037bdc6
commit 3ffce2c379
8 changed files with 49 additions and 10 deletions

View File

@@ -227,7 +227,7 @@ class _WebViewComponent extends State<WebViewComponent>
},
onDownloadStartRequest: (InAppWebViewController controller,
DownloadStartRequest downloadStartRequest) {
String downloadUrl = downloadStartRequest.url.path;
String downloadUrl = downloadStartRequest.url.toString();
DownloadTaskDialog.show(context, downloadUrl);
},
),