Fix colors
This commit is contained in:
parent
336f67fd48
commit
adf2d57703
8 changed files with 33 additions and 29 deletions
|
@ -32,9 +32,9 @@ class ColorFragment : AbsPlayerFragment() {
|
|||
get() = navigationColor
|
||||
|
||||
override fun onColorChanged(color: MediaNotificationProcessor) {
|
||||
lastColor = color.secondaryTextColor
|
||||
playbackControlsFragment.setDark(color)
|
||||
navigationColor = color.backgroundColor
|
||||
lastColor = color.secondaryTextColor
|
||||
callbacks?.onPaletteColorChanged()
|
||||
|
||||
ToolbarContentTintHelper.colorizeToolbar(
|
||||
|
|
|
@ -98,8 +98,8 @@ class ColorPlaybackControlsFragment : AbsPlayerControlsFragment() {
|
|||
|
||||
fun setDark(colors: MediaNotificationProcessor) {
|
||||
setDark(colors.secondaryTextColor)
|
||||
TintHelper.setTintAuto(playPauseButton, colors.backgroundColor, false)
|
||||
TintHelper.setTintAuto(playPauseButton, colors.primaryTextColor, true)
|
||||
TintHelper.setTintAuto(playPauseButton, colors.backgroundColor, false)
|
||||
|
||||
title.setTextColor(colors.primaryTextColor)
|
||||
text.setTextColor(colors.secondaryTextColor)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue