Fix scroll indicator color in dark mode

This commit is contained in:
Shadowfacts 2021-10-07 09:29:12 -04:00
parent 32648808cb
commit bea574d7bb
Signed by: shadowfacts
GPG Key ID: 94A5AB95422746E5
2 changed files with 2 additions and 3 deletions

View File

@ -14,6 +14,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
static let defaultHomepage = URL(string: "gemini://gemini.circumlunar.space/")!
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
SymbolCache.load()
return true
@ -47,4 +48,3 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
}
}

View File

@ -62,11 +62,10 @@ class BrowserWebViewController: UIViewController {
configureRenderer()
view.backgroundColor = .systemBackground
view.backgroundColor = .systemBackground
webView = WKWebView()
webView.backgroundColor = .systemBackground
webView.isOpaque = false
webView.navigationDelegate = self
webView.uiDelegate = self
// it is safe to set the delegate of the web view's internal scroll view becuase WebKit takes care of forwarding between its internal delegate and our own