mirror of
https://github.com/sudoxnym/habitica-android.git
synced 2026-05-22 05:38:55 +00:00
Hide special pets mounts if empty (#1666)
* added resources to run project * remove special pets/mounts section if the user does not own any special pets/mounts * added extra space
This commit is contained in:
parent
476f23d1a1
commit
e1406f3a43
1 changed files with 1 additions and 0 deletions
|
|
@ -258,6 +258,7 @@ class StableRecyclerFragment :
|
|||
}
|
||||
|
||||
items.add(0, "header")
|
||||
items.removeAll { it is StableSection && (it.key as? String) == "special" && it.ownedCount == 0 }
|
||||
return items
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue