mirror of
https://github.com/YTVanced/VancedManager
synced 2024-11-17 16:55:10 +00:00
some changes to ThemedActivity
This commit is contained in:
parent
aee031cd02
commit
de17b6de01
1 changed files with 2 additions and 2 deletions
|
@ -67,8 +67,8 @@ open class ThemedActivity : AppCompatActivity() {
|
|||
}
|
||||
else -> {
|
||||
when (resources.configuration.uiMode and Configuration.UI_MODE_NIGHT_MASK) {
|
||||
Configuration.UI_MODE_NIGHT_YES -> setDarkAccent(currentAccent)
|
||||
Configuration.UI_MODE_NIGHT_NO -> setLightAccent(currentAccent)
|
||||
Configuration.UI_MODE_NIGHT_YES -> setDarkAccent("Blue")
|
||||
Configuration.UI_MODE_NIGHT_NO -> setLightAccent("Blue")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue