Skip to content

Commit

Permalink
Merge pull request #159 from morewry/pr/androidNoHyphens
Browse files Browse the repository at this point in the history
Convert invalid hyphens to underscores for Android
  • Loading branch information
aputinski authored Jul 13, 2018
2 parents 233fd22 + 487a556 commit 0540d75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/formats/android.xml.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ module.exports = def => {
[key]: [
{
_attr: {
name: _.toUpper(prop.get("name")),
name: _.toUpper(prop.get("name")).replace(/[-]/g, "_"),
category: prop.get("category")
}
},
Expand Down

0 comments on commit 0540d75

Please sign in to comment.