Skip to content

Commit

Permalink
bump version to 3.4.2
Browse files Browse the repository at this point in the history
  • Loading branch information
mwarning committed Mar 4, 2022
1 parent 27cba32 commit d4f5412
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ android {
defaultConfig {
minSdkVersion 21
targetSdkVersion 30
versionCode 341
versionName "3.4.1"
versionCode 342
versionName "3.4.2"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
resConfigs "en"
}
Expand Down
9 changes: 9 additions & 0 deletions app/src/main/java/app/trigger/Settings.java
Original file line number Diff line number Diff line change
Expand Up @@ -311,6 +311,15 @@ private static void upgradeDB() {
sharedPreferences.edit().putString("db_version", new_version).commit();
db_version = new_version;
}

if (Arrays.asList("3.4.1").contains(db_version)) {
String new_version = "3.4.2";
Log.i(TAG, "Update database format from " + db_version + " to " + new_version);
// nothing to change
setups = new ArrayList();
sharedPreferences.edit().putString("db_version", new_version).commit();
db_version = new_version;
}
}

static void init(Context context) {
Expand Down
1 change: 1 addition & 0 deletions metadata/android/en-US/changelogs/342.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* fix broken WiFi SSID match

0 comments on commit d4f5412

Please sign in to comment.