Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
### Changes:
- Fix: fixed issue with shoe item recommended size

### 2.12.16
- Fix: view text issue when orientation change after language change

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,6 @@ class UserBodyProfileJsonParser : VirtusizeJsonParser<UserBodyProfile> {
val braSizeMap = JsonUtils.jsonObjectToMap(braSizeJsonObject)
braSize = if (braSizeMap.isEmpty()) null else braSizeMap
}
if (age == 0 || height == 0 || weight.isBlank() || bodyData.isEmpty()) {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

shouldn't this be a safe guard?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@devAbhimanyu I do not see this code on iOS SDK + This parameters are optional (for SHOE those are missing).

return null
}
return UserBodyProfile(gender, age, height, weight, bodyData, footwearData, braSize)
}

Expand Down
Loading