navigation bar color matches the theme

This commit is contained in:
h4h13 2018-12-10 13:25:44 +05:30
parent db4d182356
commit cbe73ed5e4

View file

@ -301,6 +301,7 @@ class MainActivity : AbsSlidingMusicPanelActivity(), SharedPreferences.OnSharedP
NavigationViewUtil.setItemTextColors(navigationView, ThemeStore.textColorPrimary(this), accentColor) NavigationViewUtil.setItemTextColors(navigationView, ThemeStore.textColorPrimary(this), accentColor)
checkSetUpPro() checkSetUpPro()
navigationView.setBackgroundColor(ThemeStore.primaryColor(this))
navigationView.setNavigationItemSelectedListener { menuItem -> navigationView.setNavigationItemSelectedListener { menuItem ->
drawerLayout.closeDrawers() drawerLayout.closeDrawers()
when (menuItem.itemId) { when (menuItem.itemId) {
@ -315,6 +316,7 @@ class MainActivity : AbsSlidingMusicPanelActivity(), SharedPreferences.OnSharedP
} }
true true
} }
} }
private fun prepareBugReport() { private fun prepareBugReport() {