Skip to content

Commit

Permalink
bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
mwarning committed Oct 3, 2019
1 parent 5583cd3 commit 7d9b393
Show file tree
Hide file tree
Showing 3 changed files with 10 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 "d.d.meshenger"
minSdkVersion 19
targetSdkVersion 26
versionCode 302
versionName "3.0.2"
versionCode 303
versionName "3.0.3"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
vectorDrawables.useSupportLibrary = true
}
Expand Down
8 changes: 7 additions & 1 deletion app/src/main/java/d/d/meshenger/Database.java
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
class Database {
Settings settings;
ArrayList<Contact> contacts;
static String version = "3.0.2"; // current version
static String version = "3.0.3"; // current version

Database() {
this.contacts = new ArrayList<>();
Expand Down Expand Up @@ -142,6 +142,12 @@ private static boolean upgradeDatabase(String from, String to, JSONObject obj) t
from = "3.0.2";
}

// 3.0.2 => 3.0.3
if (from.equals("3.0.2")) {
// nothing to do
from = "3.0.3";
}

obj.put("version", from);

return true;
Expand Down
1 change: 1 addition & 0 deletions metadata/android/en-US/changelogs/303.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* add missing file

0 comments on commit 7d9b393

Please sign in to comment.