0
0
Fork 0
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:
X1nto 2020-05-24 12:18:38 +04:00
parent aee031cd02
commit de17b6de01

View file

@ -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")
}
}
}