mirror of
https://github.com/sudoxnym/habitica-android.git
synced 2026-07-14 10:11:58 +00:00
Fixes #1548
This commit is contained in:
parent
11f313aa17
commit
8647e7a0d1
1 changed files with 1 additions and 1 deletions
|
|
@ -165,7 +165,7 @@ class StableRecyclerAdapter : RecyclerView.Adapter<RecyclerView.ViewHolder>() {
|
|||
ownedTextView.visibility = View.VISIBLE
|
||||
imageView.loadImage(imageName)
|
||||
|
||||
val alpha = if (item.numberOwned <= 0 && ownedEggs?.containsKey(item.animal) != true) 0.2f else 1.0f
|
||||
val alpha = if (item.numberOwned <= 0 && (ownedEggs?.containsKey(item.animal) != true || itemType == "mounts")) 0.2f else 1.0f
|
||||
this.imageView.alpha = alpha
|
||||
this.titleView.alpha = alpha
|
||||
this.ownedTextView.alpha = alpha
|
||||
|
|
|
|||
Loading…
Reference in a new issue