diff --git a/App/Browser View/BrowserViewController+WebKitDelegate.swift b/App/Browser View/BrowserViewController+WebKitDelegate.swift index 0d43108..f9c6843 100644 --- a/App/Browser View/BrowserViewController+WebKitDelegate.swift +++ b/App/Browser View/BrowserViewController+WebKitDelegate.swift @@ -52,6 +52,14 @@ extension BrowserViewController: WKNavigationDelegate, WKUIDelegate } } + func webView(_ webView: WKWebView, didReceiveServerRedirectForProvisionalNavigation navigation: WKNavigation!) { + // We got rugged!!!!!! Update the favicon again. + if let url = webView.url { + // Start requesting favicon + tab.updateFaviconForURL(url) + } + } + func webView(_ webView: WKWebView, didFinish navigation: WKNavigation!) { toolbarController.urlBar.loadProgress = .complete