Fixed light theme on A12
This commit is contained in:
parent
8cf092ab0b
commit
2e16994276
3 changed files with 5 additions and 3 deletions
|
@ -28,6 +28,7 @@ object ThemeManager {
|
|||
fun getNightMode(
|
||||
context: Context
|
||||
): Int = when (context.generalThemeValue) {
|
||||
LIGHT -> AppCompatDelegate.MODE_NIGHT_NO
|
||||
DARK -> AppCompatDelegate.MODE_NIGHT_YES
|
||||
BLACK -> {
|
||||
if (PreferenceUtil.baseTheme == "dark") {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue