From 7a4463e104fe1053214be70a4f403bb15751868b Mon Sep 17 00:00:00 2001 From: Carlos Date: Sun, 21 Jan 2018 13:15:24 -0500 Subject: [PATCH] fixed alpha not showing for manga in library during global search (#1203) --- .../ui/catalogue/global_search/CatalogueSearchCardHolder.kt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/src/main/java/eu/kanade/tachiyomi/ui/catalogue/global_search/CatalogueSearchCardHolder.kt b/app/src/main/java/eu/kanade/tachiyomi/ui/catalogue/global_search/CatalogueSearchCardHolder.kt index 450db610d..cf21e7437 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/ui/catalogue/global_search/CatalogueSearchCardHolder.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/ui/catalogue/global_search/CatalogueSearchCardHolder.kt @@ -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) }