Fix visual bugs

This commit is contained in:
Hemanth S 2020-05-11 15:21:22 +05:30
parent 4bcf9b202e
commit 336f67fd48
15 changed files with 82 additions and 99 deletions

View file

@ -28,7 +28,7 @@ class HorizontalAlbumAdapter(
return ViewHolder(view)
}
fun setColors(color: Int, holder: ViewHolder) {
override fun setColors(color: MediaNotificationProcessor, holder: ViewHolder) {
holder.title?.setTextColor(ATHUtil.resolveColor(activity, android.R.attr.textColorPrimary))
holder.text?.setTextColor(ATHUtil.resolveColor(activity, android.R.attr.textColorSecondary))
}
@ -42,7 +42,7 @@ class HorizontalAlbumAdapter(
.into(object : RetroMusicColoredTarget(holder.image!!) {
override fun onLoadCleared(placeholder: Drawable?) {
super.onLoadCleared(placeholder)
setColors(albumArtistFooterColor, holder)
//setColors(albumArtistFooterColor, holder)
}
override fun onColorReady(colors: MediaNotificationProcessor) {