Fix cover thumbnails not being translucent for favorited manga in sources
This commit is contained in:
parent
2fb0969c75
commit
57b63f43f5
@ -38,6 +38,9 @@ class SourceListHolder(private val view: View, adapter: FlexibleAdapter<*>) :
|
|||||||
title.text = manga.title
|
title.text = manga.title
|
||||||
title.setTextColor(if (manga.favorite) favoriteColor else unfavoriteColor)
|
title.setTextColor(if (manga.favorite) favoriteColor else unfavoriteColor)
|
||||||
|
|
||||||
|
// Set alpha of thumbnail.
|
||||||
|
thumbnail.alpha = if (manga.favorite) 0.3f else 1.0f
|
||||||
|
|
||||||
setImage(manga)
|
setImage(manga)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user