mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-11-11 18:10:48 +01:00
fixed alpha not showing for manga in library during global search (#1203)
This commit is contained in:
parent
e1be4ba925
commit
7a4463e104
1 changed files with 2 additions and 0 deletions
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue