From cbe73ed5e4bca4dc0425725cc362317e544ff7f7 Mon Sep 17 00:00:00 2001 From: h4h13 Date: Mon, 10 Dec 2018 13:25:44 +0530 Subject: [PATCH] navigation bar color matches the theme --- .../code/name/monkey/retromusic/ui/activities/MainActivity.kt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/src/main/java/code/name/monkey/retromusic/ui/activities/MainActivity.kt b/app/src/main/java/code/name/monkey/retromusic/ui/activities/MainActivity.kt index 6780250c..17fe32ae 100644 --- a/app/src/main/java/code/name/monkey/retromusic/ui/activities/MainActivity.kt +++ b/app/src/main/java/code/name/monkey/retromusic/ui/activities/MainActivity.kt @@ -301,6 +301,7 @@ class MainActivity : AbsSlidingMusicPanelActivity(), SharedPreferences.OnSharedP NavigationViewUtil.setItemTextColors(navigationView, ThemeStore.textColorPrimary(this), accentColor) checkSetUpPro() + navigationView.setBackgroundColor(ThemeStore.primaryColor(this)) navigationView.setNavigationItemSelectedListener { menuItem -> drawerLayout.closeDrawers() when (menuItem.itemId) { @@ -315,6 +316,7 @@ class MainActivity : AbsSlidingMusicPanelActivity(), SharedPreferences.OnSharedP } true } + } private fun prepareBugReport() {