diff --git a/Habitica/res/values/strings.xml b/Habitica/res/values/strings.xml index c5d40aed1..6cba30562 100644 --- a/Habitica/res/values/strings.xml +++ b/Habitica/res/values/strings.xml @@ -1381,7 +1381,8 @@ This equipment is class-locked Change class to %s You own all %s gear - New gear is released during the seasonal Galas. The Enchanted Armoire gets new stock every month too! + New gear is released during the seasonal Galas. Until then, theres %d pieces of gear in the Enchanted Armoire to find! + New gear is released during the seasonal Galas. The Enchanted Armoire gets new stock every month too! Unlock %s gear and skills diff --git a/Habitica/src/main/java/com/habitrpg/android/habitica/ui/adapter/inventory/ShopRecyclerAdapter.kt b/Habitica/src/main/java/com/habitrpg/android/habitica/ui/adapter/inventory/ShopRecyclerAdapter.kt index d36dcd2a1..ce6070acd 100644 --- a/Habitica/src/main/java/com/habitrpg/android/habitica/ui/adapter/inventory/ShopRecyclerAdapter.kt +++ b/Habitica/src/main/java/com/habitrpg/android/habitica/ui/adapter/inventory/ShopRecyclerAdapter.kt @@ -288,9 +288,15 @@ class ShopRecyclerAdapter : androidx.recyclerview.widget.RecyclerView.Adapter 0) { + binding.descriptionView.text = itemView.context.getString(R.string.shop_armoire_description, armoireCount) + binding.footerLayout.visibility = View.VISIBLE + binding.iconView.visibility = View.VISIBLE + } else { + binding.descriptionView.text = itemView.context.getString(R.string.shop_armoire_empty_description) + binding.footerLayout.visibility = View.INVISIBLE + binding.iconView.visibility = View.GONE + } } } }