lets use the same color at the status and action bars

This commit is contained in:
tibbi 2021-11-04 23:16:31 +01:00
parent 3a3c38e24a
commit 97dcbe31df

View file

@ -134,7 +134,7 @@ abstract class BaseSimpleActivity : AppCompatActivity() {
}
fun updateStatusbarColor(color: Int) {
window.statusBarColor = color.darkenColor()
window.statusBarColor = color
if (isMarshmallowPlus()) {
if (color.getContrastColor() == 0xFF333333.toInt()) {