mirror of
https://github.com/sudoxnym/habitica-android.git
synced 2026-04-14 19:56:32 +00:00
Update state for when you have all armoire items
This commit is contained in:
parent
c59bc3cade
commit
2fa66ecbf4
3 changed files with 5 additions and 2 deletions
|
|
@ -34,6 +34,7 @@
|
|||
android:layout_height="68dp" />
|
||||
</LinearLayout>
|
||||
<FrameLayout
|
||||
android:id="@+id/footer_layout"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@color/offset_background_30"
|
||||
|
|
|
|||
|
|
@ -1381,7 +1381,7 @@
|
|||
<string name="equipment_class_locked">This equipment is class-locked</string>
|
||||
<string name="change_class_to_x">Change class to %s</string>
|
||||
<string name="shop_armoire_title">You own all %s gear</string>
|
||||
<string name="shop_armoire_description">New gear is released during the seasonal Galas. Until then, theres %d pieces of gear in the Enchanted Armoire to find!</string>
|
||||
<string name="shop_armoire_description">New gear is released during the seasonal Galas. The Enchanted Armoire gets new stock every month too!</string>
|
||||
<string name="unlock_gear_and_skills">Unlock %s gear and skills</string>
|
||||
|
||||
<plurals name="you_x_others">
|
||||
|
|
|
|||
|
|
@ -288,7 +288,9 @@ class ShopRecyclerAdapter : androidx.recyclerview.widget.RecyclerView.Adapter<Vi
|
|||
|
||||
fun bind(className: String, armoireCount: Int) {
|
||||
binding.titleView.text = itemView.context.getString(R.string.shop_armoire_title, className)
|
||||
binding.descriptionView.text = itemView.context.getString(R.string.shop_armoire_description, armoireCount)
|
||||
binding.descriptionView.text = itemView.context.getString(R.string.shop_armoire_description)
|
||||
binding.iconView.visibility = View.INVISIBLE
|
||||
binding.footerLayout.visibility = View.INVISIBLE
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue