From bea574d7bb7b1eaa80a408326584fc7ff5c1741b Mon Sep 17 00:00:00 2001 From: Shadowfacts Date: Thu, 7 Oct 2021 09:29:12 -0400 Subject: [PATCH] Fix scroll indicator color in dark mode --- Gemini-iOS/AppDelegate.swift | 2 +- Gemini-iOS/BrowserWebViewController.swift | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/Gemini-iOS/AppDelegate.swift b/Gemini-iOS/AppDelegate.swift index 6039c0c..876541b 100644 --- a/Gemini-iOS/AppDelegate.swift +++ b/Gemini-iOS/AppDelegate.swift @@ -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 { } } - diff --git a/Gemini-iOS/BrowserWebViewController.swift b/Gemini-iOS/BrowserWebViewController.swift index 1f9df30..3a4ee24 100644 --- a/Gemini-iOS/BrowserWebViewController.swift +++ b/Gemini-iOS/BrowserWebViewController.swift @@ -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