OK button in error clears error status UI

This commit is contained in:
James Magahern
2021-01-07 12:47:25 -08:00
parent d3a690430d
commit bd400a006d

View File

@@ -169,6 +169,9 @@ class BrowserViewController: UIViewController, WKNavigationDelegate, WKUIDelegat
alert.addAction(UIAlertAction(title: "OK", style: .default, handler: { _ in
alert.dismiss(animated: true, completion: nil)
// Clears out the error state
toolbarController.urlBar.loadProgress = .complete
}))
self.present(alert, animated: true, completion: nil)