Fix color not showing in Gradient

This commit is contained in:
Hemanth S 2020-10-12 13:27:11 +05:30
parent cef955abe6
commit 3e258714bb
3 changed files with 4 additions and 4 deletions

View file

@ -16,7 +16,7 @@ android {
vectorDrawables.useSupportLibrary = true
applicationId "code.name.monkey.retromusic"
versionCode 10502
versionCode 10503
versionName '4.0.010' + "_" + getDate()
multiDexEnabled true

View file

@ -345,11 +345,11 @@ abstract class AbsSlidingMusicPanelActivity : AbsMusicServiceActivity() {
ViewCompat.setElevation(slidingPanel, 10f)
ViewCompat.setElevation(bottomNavigationView, 10f)
if (isVisible) {
bottomSheetBehavior.peekHeightAnimate(heightOfBarWithTabs)
bottomSheetBehavior.peekHeight = heightOfBarWithTabs
bottomNavigationView.translateYAnimate(0f)
} else {
bottomNavigationView.translateYAnimate(150f)
bottomSheetBehavior.peekHeightAnimate(heightOfBar)
bottomSheetBehavior.peekHeight = heightOfBar
}
}
}

View file

@ -224,7 +224,7 @@ class GradientPlayerFragment : AbsPlayerFragment(R.layout.fragment_gradient_play
songInfo.setTextColor(lastDisabledPlaybackControlsColor)
volumeFragment?.setTintableColor(lastPlaybackControlsColor.ripAlpha())
ViewUtil.setProgressDrawable(progressSlider, color.primaryTextColor.ripAlpha(), true)
ViewUtil.setProgressDrawable(progressSlider, lastPlaybackControlsColor.ripAlpha(), true)
updateRepeatState()
updateShuffleState()