Appearance tweaks
This commit is contained in:
@@ -402,8 +402,10 @@ class BrowserViewController: UIViewController
|
||||
toolbarController.urlBar.loadProgress = .error(error: loadError)
|
||||
} else if webView.estimatedProgress == 1.0 {
|
||||
toolbarController.urlBar.loadProgress = .complete
|
||||
} else {
|
||||
} else if webView.isLoading {
|
||||
toolbarController.urlBar.loadProgress = .loading(progress: webView.estimatedProgress)
|
||||
} else {
|
||||
toolbarController.urlBar.loadProgress = .idle
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user