Fix cover thumbnails not being translucent for favorited manga in sources
Cette révision appartient à :
Parent
2fb0969c75
révision
57b63f43f5
1 fichiers modifiés avec 3 ajouts et 0 suppressions
|
@ -38,6 +38,9 @@ class SourceListHolder(private val view: View, adapter: FlexibleAdapter<*>) :
|
|||
title.text = manga.title
|
||||
title.setTextColor(if (manga.favorite) favoriteColor else unfavoriteColor)
|
||||
|
||||
// Set alpha of thumbnail.
|
||||
thumbnail.alpha = if (manga.favorite) 0.3f else 1.0f
|
||||
|
||||
setImage(manga)
|
||||
}
|
||||
|
||||
|
|
Référencer dans un nouveau ticket