use proper status bar color at updating top menu
This commit is contained in:
parent
119297e948
commit
6d415b21de
1 changed files with 1 additions and 1 deletions
|
@ -309,7 +309,7 @@ abstract class BaseSimpleActivity : AppCompatActivity() {
|
|||
) {
|
||||
val toolbarBackgroundColor = if (isMaterialActivity) {
|
||||
// make sure toolbar and statusbar colors are always the same, even if view is scrolled and the top bars are colored
|
||||
window.statusBarColor
|
||||
getRequiredStatusBarColor()
|
||||
} else {
|
||||
statusBarColor
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue