mirror of
https://git.mihon.tech/mihonapp/mihon
synced 2024-11-26 23:28:58 +03: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