use proper status bar color at updating top menu

This commit is contained in:
tibbi 2022-12-20 11:59:26 +01:00
parent 119297e948
commit 6d415b21de

View file

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