mirror of
https://github.com/mihonapp/mihon.git
synced 2024-11-07 20:31:02 -05:00
Fix cover thumbnails not being translucent for favorited manga in sources
This commit is contained in:
parent
2fb0969c75
commit
57b63f43f5
1 changed files with 3 additions and 0 deletions
|
@ -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 a new issue