Appearance tweaks

This commit is contained in:
James Magahern
2021-07-20 19:17:04 -07:00
parent 777b079f5e
commit 864260bad3
6 changed files with 65 additions and 34 deletions

View File

@@ -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
}
}