removed unused code

This commit is contained in:
Lorenzo Pichilli 2022-04-23 17:40:43 +02:00
parent 8315b811a8
commit 2a9391df41
1 changed files with 0 additions and 5 deletions

View File

@ -1629,11 +1629,6 @@ public class InAppWebView: WKWebView, UIScrollViewDelegate, WKUIDelegate,
return
}
if #available(iOS 14.5, *), navigationAction.request.url!.absoluteString.hasSuffix(".dat") {
decisionHandler(.download)
return
}
if navigationAction.request.url != nil {
if let useShouldOverrideUrlLoading = settings?.useShouldOverrideUrlLoading, useShouldOverrideUrlLoading {