Fixed Just Black theme
This commit is contained in:
parent
75837607f4
commit
7c5a97c410
3 changed files with 4 additions and 9 deletions
|
@ -26,13 +26,6 @@ object ThemeManager {
|
|||
fun getNightMode(): Int = when (App.getContext().generalThemeValue) {
|
||||
LIGHT -> AppCompatDelegate.MODE_NIGHT_NO
|
||||
DARK -> AppCompatDelegate.MODE_NIGHT_YES
|
||||
BLACK -> {
|
||||
if (PreferenceUtil.baseTheme == "dark") {
|
||||
AppCompatDelegate.MODE_NIGHT_YES
|
||||
} else {
|
||||
AppCompatDelegate.MODE_NIGHT_FOLLOW_SYSTEM
|
||||
}
|
||||
}
|
||||
else -> AppCompatDelegate.MODE_NIGHT_FOLLOW_SYSTEM
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue