Made sub header color for dark themes always white

This commit is contained in:
Karim Abou Zeid 2015-12-30 16:58:29 +01:00
commit 2efb050799

View file

@ -340,7 +340,13 @@ public class PlayerFragment extends AbsPlayerFragment implements PlayerAlbumCove
}
AnimatorSet animatorSet = new AnimatorSet();
animatorSet.play(backgroundAnimator).with(ViewUtil.createTextColorTransition(fragment.playerQueueSubHeader, fragment.lastColor, newColor));
animatorSet.play(backgroundAnimator);
Animator subHeaderAnimator = ThemeSingleton.get().darkTheme ? null : ViewUtil.createTextColorTransition(fragment.playerQueueSubHeader, fragment.lastColor, newColor);
if (subHeaderAnimator != null) {
animatorSet.play(subHeaderAnimator);
}
animatorSet.setDuration(ViewUtil.PHONOGRAPH_ANIM_TIME);
return animatorSet;