Fix color not showing in Gradient

main
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 vectorDrawables.useSupportLibrary = true
applicationId "code.name.monkey.retromusic" applicationId "code.name.monkey.retromusic"
versionCode 10502 versionCode 10503
versionName '4.0.010' + "_" + getDate() versionName '4.0.010' + "_" + getDate()
multiDexEnabled true multiDexEnabled true

View File

@ -345,11 +345,11 @@ abstract class AbsSlidingMusicPanelActivity : AbsMusicServiceActivity() {
ViewCompat.setElevation(slidingPanel, 10f) ViewCompat.setElevation(slidingPanel, 10f)
ViewCompat.setElevation(bottomNavigationView, 10f) ViewCompat.setElevation(bottomNavigationView, 10f)
if (isVisible) { if (isVisible) {
bottomSheetBehavior.peekHeightAnimate(heightOfBarWithTabs) bottomSheetBehavior.peekHeight = heightOfBarWithTabs
bottomNavigationView.translateYAnimate(0f) bottomNavigationView.translateYAnimate(0f)
} else { } else {
bottomNavigationView.translateYAnimate(150f) 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) songInfo.setTextColor(lastDisabledPlaybackControlsColor)
volumeFragment?.setTintableColor(lastPlaybackControlsColor.ripAlpha()) volumeFragment?.setTintableColor(lastPlaybackControlsColor.ripAlpha())
ViewUtil.setProgressDrawable(progressSlider, color.primaryTextColor.ripAlpha(), true) ViewUtil.setProgressDrawable(progressSlider, lastPlaybackControlsColor.ripAlpha(), true)
updateRepeatState() updateRepeatState()
updateShuffleState() updateShuffleState()