@hanwha-ss1/plugin 0.5.2 → 0.5.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -117,7 +117,7 @@ extension ViewController: WKNavigationDelegate, WKUIDelegate {
|
|
|
117
117
|
|
|
118
118
|
func webView(_ webView: WKWebView, decidePolicyFor navigationAction: WKNavigationAction, decisionHandler: @escaping (WKNavigationActionPolicy) -> Void) {
|
|
119
119
|
|
|
120
|
-
let url = navigationAction.request.url?.absoluteString
|
|
120
|
+
let url = navigationAction.request.url?.absoluteString ?? ""
|
|
121
121
|
|
|
122
122
|
if "close://" == url {
|
|
123
123
|
doClose()
|