Code refactor
This commit is contained in:
parent
10874744f3
commit
fd582fff69
2 changed files with 3 additions and 3 deletions
|
@ -105,11 +105,11 @@ class BlurPlayerFragment : AbsPlayerFragment(), SharedPreferences.OnSharedPrefer
|
|||
.generatePalette(requireContext()).build()
|
||||
.dontAnimate()
|
||||
.transform(
|
||||
BlurTransformation.Builder(requireContext()).blurRadius(blurAmount.toFloat())
|
||||
BlurTransformation.Builder(requireContext())
|
||||
.blurRadius(blurAmount.toFloat())
|
||||
.build()
|
||||
)
|
||||
.into(object : RetroMusicColoredTarget(colorBackground) {
|
||||
|
||||
override fun onColorReady(colors: MediaNotificationProcessor) {
|
||||
if (colors.backgroundColor == defaultFooterColor) {
|
||||
colorBackground.setColorFilter(colors.backgroundColor)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue