Fix for light theme bugging out and being dark

Same as the dark theme earlier just reverse the conditions (always light with system dark theme)
This commit is contained in:
Jay 2020-01-30 00:06:59 -08:00
parent ccd1c7bc1d
commit 2c33040a5f

View File

@ -109,8 +109,8 @@ open class MainActivity : BaseActivity() {
lateinit var tabAnimator: TabsAnimator
override fun onCreate(savedInstanceState: Bundle?) {
if (preferences.theme() in 2..4) {
Timber.d("Manually instantiating WebView to avoid night mode issue.");
if (preferences.theme() in 1..4) {
Timber.d("Manually instantiating WebView to avoid night mode issue.")
try {
WebView(applicationContext)
} catch (e: Exception) {