[Now Playing: Color] Fixed wrong Lyrics icon color
This commit is contained in:
parent
7a2d14e061
commit
bbd7de8d90
1 changed files with 8 additions and 5 deletions
|
@ -16,6 +16,7 @@ package code.name.monkey.retromusic.fragments.player.color
|
||||||
|
|
||||||
import android.animation.ValueAnimator
|
import android.animation.ValueAnimator
|
||||||
import android.os.Bundle
|
import android.os.Bundle
|
||||||
|
import android.os.Handler
|
||||||
import android.view.View
|
import android.view.View
|
||||||
import androidx.appcompat.widget.Toolbar
|
import androidx.appcompat.widget.Toolbar
|
||||||
import androidx.core.animation.doOnEnd
|
import androidx.core.animation.doOnEnd
|
||||||
|
@ -60,11 +61,13 @@ class ColorFragment : AbsPlayerFragment(R.layout.fragment_color_player) {
|
||||||
_binding?.root?.setBackgroundColor(color.backgroundColor)
|
_binding?.root?.setBackgroundColor(color.backgroundColor)
|
||||||
}
|
}
|
||||||
animator.start()
|
animator.start()
|
||||||
ToolbarContentTintHelper.colorizeToolbar(
|
Handler().post {
|
||||||
binding.playerToolbar,
|
ToolbarContentTintHelper.colorizeToolbar(
|
||||||
color.secondaryTextColor,
|
binding.playerToolbar,
|
||||||
requireActivity()
|
color.secondaryTextColor,
|
||||||
)
|
requireActivity()
|
||||||
|
)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
override fun onFavoriteToggled() {
|
override fun onFavoriteToggled() {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue