fixed alpha not showing for manga in library during global search (#1203)

This commit is contained in:
Carlos 2018-01-21 13:15:24 -05:00 committed by inorichi
parent e1be4ba925
commit 7a4463e104

View File

@ -30,6 +30,8 @@ class CatalogueSearchCardHolder(view: View, adapter: CatalogueSearchCardAdapter)
fun bind(manga: Manga) {
tvTitle.text = manga.title
// Set alpha of thumbnail.
itemImage.alpha = if (manga.favorite) 0.3f else 1.0f
setImage(manga)
}