Skip to content

Commit

Permalink
Merge pull request #19 from natura-cosmeticos/feature/update-icons
Browse files Browse the repository at this point in the history
Update Icons
bihletti authored Feb 20, 2020

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
2 parents 27445cb + e2809a8 commit 24bc3b4
Showing 5 changed files with 15 additions and 4 deletions.
Binary file modified designsystem/src/main/assets/fonts/natds_icons.ttf
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -30,4 +30,4 @@ class FontIcon @JvmOverloads constructor(
}
}

private fun String.toIcon() = String(Character.toChars(Integer.parseInt(this, 16)))
fun String.toIcon() = String(Character.toChars(Integer.parseInt(this, 16)))
Original file line number Diff line number Diff line change
@@ -163,6 +163,11 @@ class IconActivity : AppCompatActivity() {
R.string.icon_outlined_social_groupofpeople,
R.string.icon_outlined_social_myprofile,
R.string.icon_outlined_social_network,
R.string.icon_outlined_social_person
R.string.icon_outlined_social_person,
R.string.icon_outlined_content_planb,
R.string.icon_outlined_content_healthy,
R.string.icon_outlined_content_gallery,
R.string.icon_outlined_content_exchangereports,
R.string.icon_outlined_content_bellringing
)
}
8 changes: 7 additions & 1 deletion sample/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
@@ -143,10 +143,16 @@
<string name="icon_outlined_social_birthday">EA8B</string>
<string name="icon_outlined_social_collaborate">EA8C</string>
<string name="icon_outlined_social_contact">EA8D</string>
<string name="icon_outlined_social_digitalconsultant">EA8E</string>
<string name="icon_outlined_social_groupofpeople">EA8F</string>
<string name="icon_outlined_social_myprofile">EA90</string>
<string name="icon_outlined_social_network">EA91</string>
<string name="icon_outlined_social_person">EA92</string>
<string name="icon_outlined_content_bellringing">EA93</string>
<string name="icon_outlined_content_exchangereports">EA94</string>
<string name="icon_outlined_content_gallery">EA95</string>
<string name="icon_outlined_content_healthy">EA96</string>
<string name="icon_outlined_content_planb">EA97</string>
<string name="icon_outlined_social_digitalconsultant">EA8E</string>


</resources>
2 changes: 1 addition & 1 deletion tools/publish.gradle
Original file line number Diff line number Diff line change
@@ -6,7 +6,7 @@ if (file("github_credentials.properties").file) {
}

def getVersionName = { ->
return "0.0.7"
return "0.0.8"
}

def getGroupId = { ->

0 comments on commit 24bc3b4

Please sign in to comment.