Fix cover thumbnails not being translucent for favorited manga in sources

This commit is contained in:
arkon 2020-05-16 16:47:19 -04:00
parent 2fb0969c75
commit 57b63f43f5

View file

@ -38,6 +38,9 @@ class SourceListHolder(private val view: View, adapter: FlexibleAdapter<*>) :
title.text = manga.title
title.setTextColor(if (manga.favorite) favoriteColor else unfavoriteColor)
// Set alpha of thumbnail.
thumbnail.alpha = if (manga.favorite) 0.3f else 1.0f
setImage(manga)
}