Skip to content
This repository has been archived by the owner on Apr 23, 2021. It is now read-only.

Commit

Permalink
update version number to 12 (v1.3)
Browse files Browse the repository at this point in the history
  • Loading branch information
l3d00m committed May 9, 2017
1 parent 49761a6 commit ff5c2fd
Show file tree
Hide file tree
Showing 2 changed files with 3 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 @@ -19,8 +19,8 @@ android {
applicationId "de.pscom.pietsmiet"
minSdkVersion 17
targetSdkVersion 25
versionCode 11
versionName "1.2.1"
versionCode 12
versionName "1.3"

}
buildTypes {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ protected void onStart() {
if (postPresenter.getPostsToDisplay().isEmpty()) {
// Load posts from db
DatabaseHelper.getInstance(this).displayPostsFromCache(postPresenter);
} else if ((exitTime - System.currentTimeMillis()) < (15 * 60 * 1000)) {
} else if ((exitTime - System.currentTimeMillis()) > (15 * 60 * 1000)) {
// Auto reload posts if going back to activity after more than 15 minutes
postPresenter.fetchNewPosts();
}
Expand Down

0 comments on commit ff5c2fd

Please sign in to comment.