[Now playing] Fixed lyrics color

This commit is contained in:
Prathamesh More 2021-12-20 18:08:55 +05:30
parent 80739f412a
commit 9fc25b71ce
2 changed files with 4 additions and 6 deletions

View file

@ -266,15 +266,14 @@ class PlayerAlbumCoverFragment : AbsMusicServiceFragment(R.layout.fragment_playe
callbacks?.onColorChanged(color)
setLRCViewColors(
when (PreferenceUtil.nowPlayingScreen) {
Adaptive, Fit, Plain, Simple -> surfaceColor()
Flat, Normal -> if (PreferenceUtil.isAdaptiveColor) {
color.backgroundColor
} else {
surfaceColor()
}
Color ->color.backgroundColor
Color, Gradient, Full ->color.backgroundColor
Blur -> Color.BLACK
else -> color.backgroundColor
else -> surfaceColor()
})
}