[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) callbacks?.onColorChanged(color)
setLRCViewColors( setLRCViewColors(
when (PreferenceUtil.nowPlayingScreen) { when (PreferenceUtil.nowPlayingScreen) {
Adaptive, Fit, Plain, Simple -> surfaceColor()
Flat, Normal -> if (PreferenceUtil.isAdaptiveColor) { Flat, Normal -> if (PreferenceUtil.isAdaptiveColor) {
color.backgroundColor color.backgroundColor
} else { } else {
surfaceColor() surfaceColor()
} }
Color ->color.backgroundColor Color, Gradient, Full ->color.backgroundColor
Blur -> Color.BLACK Blur -> Color.BLACK
else -> color.backgroundColor else -> surfaceColor()
}) })
} }

View file

@ -197,9 +197,8 @@
<item name="android:windowExitAnimation">@android:anim/fade_out</item> <item name="android:windowExitAnimation">@android:anim/fade_out</item>
</style> </style>
<style name="circleImageView" parent=""> <style name="circleImageView" parent="ShapeAppearance.MaterialComponents">
<item name="cornerFamily">rounded</item> <item name="cornerSize">40dp</item>
<item name="cornerSize">5%</item>
</style> </style>
<style name="SearchChipStyle" parent="Widget.Material3.Chip.Filter"> <style name="SearchChipStyle" parent="Widget.Material3.Chip.Filter">