hide armor when viewing shirt

This commit is contained in:
Phillip Thelen 2024-06-24 13:20:58 +02:00
parent 13757f5251
commit e243fe39da

View file

@ -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)
}