removed unused code
This commit is contained in:
parent
8315b811a8
commit
2a9391df41
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue