mirror of
https://github.com/sudoxnym/habitica-android.git
synced 2026-07-12 17:28:20 +00:00
Merge pull request #1725 from Hafizzle/Fixes#1710
Hide gold from other user profiles
This commit is contained in:
commit
79ef909ecc
1 changed files with 2 additions and 2 deletions
|
|
@ -73,9 +73,9 @@ class AvatarWithBarsViewModel(private val context: Context, private val binding:
|
|||
if (!stats.isBuffed) {
|
||||
binding.buffImageView.visibility = View.GONE
|
||||
}
|
||||
|
||||
binding.currencyView.gold = stats.gp ?: 0.0
|
||||
|
||||
if (user is User) {
|
||||
binding.currencyView.gold = stats.gp ?: 0.0
|
||||
binding.currencyView.hourglasses = user.hourglassCount.toDouble()
|
||||
binding.currencyView.gems = user.gemCount.toDouble()
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue