mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-11-04 09:15:07 +01: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
|
lateinit var tabAnimator: TabsAnimator
|
||||||
|
|
||||||
override fun onCreate(savedInstanceState: Bundle?) {
|
override fun onCreate(savedInstanceState: Bundle?) {
|
||||||
if (preferences.theme() in 2..4) {
|
if (preferences.theme() in 1..4) {
|
||||||
Timber.d("Manually instantiating WebView to avoid night mode issue.");
|
Timber.d("Manually instantiating WebView to avoid night mode issue.")
|
||||||
try {
|
try {
|
||||||
WebView(applicationContext)
|
WebView(applicationContext)
|
||||||
} catch (e: Exception) {
|
} catch (e: Exception) {
|
||||||
|
Loading…
Reference in New Issue
Block a user