Fix in ThemeBaseActivity for the darktheme boolean and new "now playing" toolbar icon

This commit is contained in:
Karim Abou Zeid 2015-04-17 16:28:42 +02:00
commit 751f0b796a
17 changed files with 7 additions and 7 deletions

View file

@ -51,7 +51,7 @@ public abstract class ThemeBaseActivity extends ActionBarActivity implements Kab
ThemeSingleton.get().neutralColor = ThemeSingleton.get().positiveColor;
ThemeSingleton.get().widgetColor = ThemeSingleton.get().positiveColor;
// Dark theme
ThemeSingleton.get().darkTheme = PreferenceUtils.getInstance(this).getGeneralTheme() == 1;
ThemeSingleton.get().darkTheme = PreferenceUtils.getInstance(this).getGeneralTheme() == R.style.Theme_MaterialMusic;
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) {
// Sets color of entry in the system recents page