From 132f64114e8c4b9ec469319dd625dd120b7d9405 Mon Sep 17 00:00:00 2001 From: Jens Date: Sun, 12 Feb 2023 23:57:37 +0100 Subject: [PATCH] Bug fixed: Editing variable action was not possible --- app/build.gradle | 4 ++-- .../com/jens/automation2/ActivityManageActionSetVariable.java | 2 +- .../main/java/com/jens/automation2/ActivityManageRule.java | 2 +- fastlane/metadata/android/en-US/changelogs/127.txt | 1 + 4 files changed, 5 insertions(+), 4 deletions(-) create mode 100644 fastlane/metadata/android/en-US/changelogs/127.txt diff --git a/app/build.gradle b/app/build.gradle index 210cd168..9483a786 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -11,8 +11,8 @@ android { compileSdkVersion 31 buildToolsVersion '29.0.2' useLibrary 'org.apache.http.legacy' - versionCode 126 - versionName "1.7.11" + versionCode 127 + versionName "1.7.12" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" } diff --git a/app/src/main/java/com/jens/automation2/ActivityManageActionSetVariable.java b/app/src/main/java/com/jens/automation2/ActivityManageActionSetVariable.java index 3aae0d42..f7b0be0c 100644 --- a/app/src/main/java/com/jens/automation2/ActivityManageActionSetVariable.java +++ b/app/src/main/java/com/jens/automation2/ActivityManageActionSetVariable.java @@ -61,4 +61,4 @@ public class ActivityManageActionSetVariable extends Activity etVariableSetValue.setText(input[1]); } } -} +} \ No newline at end of file diff --git a/app/src/main/java/com/jens/automation2/ActivityManageRule.java b/app/src/main/java/com/jens/automation2/ActivityManageRule.java index 99f7e4ab..06fdf0e4 100644 --- a/app/src/main/java/com/jens/automation2/ActivityManageRule.java +++ b/app/src/main/java/com/jens/automation2/ActivityManageRule.java @@ -1764,7 +1764,7 @@ public class ActivityManageRule extends Activity { ruleToEdit.getActionSet().get(editIndex).setParentRule(ruleToEdit); - if(data.hasExtra(intentNameActionParameter1) && data.hasExtra(intentNameActionParameter2)) + if(data.hasExtra(intentNameActionParameter2)) { ruleToEdit.getActionSet().get(editIndex).setParameter2(data.getStringExtra(intentNameActionParameter2)); } diff --git a/fastlane/metadata/android/en-US/changelogs/127.txt b/fastlane/metadata/android/en-US/changelogs/127.txt new file mode 100644 index 00000000..ae24b570 --- /dev/null +++ b/fastlane/metadata/android/en-US/changelogs/127.txt @@ -0,0 +1 @@ +* Fixed: Editing variable action was not possible \ No newline at end of file