mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-09-10 21:03:13 +02:00
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:
parent
ccd1c7bc1d
commit
2c33040a5f
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user