navigation bar color matches the theme
This commit is contained in:
parent
db4d182356
commit
cbe73ed5e4
1 changed files with 2 additions and 0 deletions
|
@ -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() {
|
||||||
|
|
Loading…
Reference in a new issue