Skip to content

Commit

Permalink
v2.3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
maltaisn committed Mar 1, 2019
1 parent 07e7613 commit 6dee606
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
### v2.3.1
- Prevented ADB bug where category string references weren't changed to an ID.

## v2.3.0
- Added dismiss listener.
- Improved nullity annotations for Kotlin.
Expand Down
4 changes: 2 additions & 2 deletions icondialog/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ ext {
siteUrl = 'https://github.com/maltaisn/icondialoglib'
gitUrl = 'https://github.com/maltaisn/icondialoglib.git'

libraryVersionCode = 11
libraryVersion = '2.3.0'
libraryVersionCode = 12
libraryVersion = '2.3.1'

developerId = 'maltaisn'

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -312,6 +312,8 @@ private synchronized void loadIcons(@XmlRes int xmlFile, boolean append) {
int resId = 0;
if (nameStr != null) {
if (nameStr.startsWith("@string/")) {
// There's an ADB bug where the string reference isn't changed to an ID.
// This detects and prevents it.
resId = context.getResources().getIdentifier(
nameStr.substring(8), "string", context.getPackageName());
} else {
Expand Down

0 comments on commit 6dee606

Please sign in to comment.