OK button in error clears error status UI
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user