Эх сурвалжийг харах

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

Carlos 7 жил өмнө
parent
commit
7a4463e104

+ 2 - 0
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)
     }