Made sub header color for dark themes always white
This commit is contained in:
parent
9c8e5aabef
commit
2efb050799
1 changed files with 7 additions and 1 deletions
|
|
@ -340,7 +340,13 @@ public class PlayerFragment extends AbsPlayerFragment implements PlayerAlbumCove
|
||||||
}
|
}
|
||||||
|
|
||||||
AnimatorSet animatorSet = new AnimatorSet();
|
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);
|
animatorSet.setDuration(ViewUtil.PHONOGRAPH_ANIM_TIME);
|
||||||
return animatorSet;
|
return animatorSet;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue