Skip to content

Commit

Permalink
Merge pull request #8 from Kaiserdragon2/MakeSpaces
Browse files Browse the repository at this point in the history
Make spaces to underscores
  • Loading branch information
Kaiserdragon2 authored Feb 5, 2022
2 parents 537d79e + b372bca commit a5a9012
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
4 changes: 2 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ android {
applicationId 'de.kaiserdragon.iconrequest'
minSdkVersion 21
targetSdkVersion 31
versionName "1.8.0"
versionCode 7
versionName "1.8.1"
versionCode 8
}

buildTypes {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -392,7 +392,8 @@ private String[] actionSave() {
for (int i = 0; i < arrayList.size(); i++) {
if (arrayList.get(i).selected) {
String iconName = arrayList.get(i).label
.replaceAll("[^a-zA-Z0-9.\\-;]+", "")
.replaceAll("[^a-zA-Z0-9 ]+", "")
.replaceAll("[ ]+", "_")
.toLowerCase();
if (DEBUG) Log.i(TAG, "iconName: " + iconName);
if (!updateOnly) {
Expand Down
2 changes: 2 additions & 0 deletions fastlane/metadata/android/en-US/changelogs/8.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Optimized appfilter.xml
Spaces in icon names are now underscores

0 comments on commit a5a9012

Please sign in to comment.