mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-11-20 04:09:18 +01:00
setting isDarkTheme in themes to a true val
This commit is contained in:
parent
0ebdbe174f
commit
70fc7c3b3b
@ -64,8 +64,7 @@ enum class Themes(@StyleRes val styleRes: Int, val nightMode: Int, @StringRes va
|
||||
R.string.dark_blue
|
||||
);
|
||||
|
||||
val isDarkTheme: Boolean
|
||||
get() = nightMode == AppCompatDelegate.MODE_NIGHT_YES
|
||||
val isDarkTheme = nightMode == AppCompatDelegate.MODE_NIGHT_YES
|
||||
|
||||
fun getColors(mode: Int = AppCompatDelegate.MODE_NIGHT_FOLLOW_SYSTEM): Colors {
|
||||
return when (nightMode) {
|
||||
|
Loading…
Reference in New Issue
Block a user