mirror of
https://github.com/sudoxnym/habitica-android.git
synced 2026-05-19 04:09:03 +00:00
hide armor when viewing shirt
This commit is contained in:
parent
13757f5251
commit
e243fe39da
1 changed files with 5 additions and 0 deletions
|
|
@ -78,6 +78,11 @@ class PurchaseDialogCustomizationContent(context: Context) : PurchaseDialogConte
|
|||
layerMap[AvatarView.LayerType.HEAD] = ""
|
||||
layerMap[AvatarView.LayerType.HEAD_ACCESSORY] = ""
|
||||
}
|
||||
|
||||
if (path.contains("shirt")) {
|
||||
layerMap[AvatarView.LayerType.ARMOR] = ""
|
||||
layerMap[AvatarView.LayerType.BODY] = ""
|
||||
}
|
||||
}
|
||||
binding.avatarView.setAvatar(user, layerMap)
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue