lets use the same color at the status and action bars
This commit is contained in:
parent
3a3c38e24a
commit
97dcbe31df
1 changed files with 1 additions and 1 deletions
|
@ -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()) {
|
||||
|
|
Loading…
Reference in a new issue