mirror of
https://github.com/sudoxnym/habitica-android.git
synced 2026-05-19 12:18:59 +00:00
fix hair ownedship
This commit is contained in:
parent
d9921adb96
commit
2a648dd668
2 changed files with 2 additions and 2 deletions
|
|
@ -344,7 +344,7 @@ class ComposeAvatarCustomizationFragment :
|
|||
fun updateUser(user: User?) {
|
||||
if (user == null) return
|
||||
this.updateActiveCustomization(user)
|
||||
ownedCustomizations.value = user.purchased?.customizations?.filter { it.type == this.type && it.purchased } ?: emptyList()
|
||||
ownedCustomizations.value = user.purchased?.customizations?.filter { it.type == this.type && (it.category.isNullOrEmpty() || it.category == this.category) && it.purchased } ?: emptyList()
|
||||
viewModel.userSize.value = user.preferences?.size ?: "slim"
|
||||
viewModel.hairColor.value = user.preferences?.hair?.color
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,2 +1,2 @@
|
|||
NAME=4.3.7
|
||||
CODE=7821
|
||||
CODE=7831
|
||||
Loading…
Reference in a new issue