Skip to content

Commit

Permalink
Change default showEvery(int) value from 5 to 1
Browse files Browse the repository at this point in the history
  • Loading branch information
javiersantos committed Feb 5, 2016
1 parent 415b104 commit d12017b
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public AppUpdater(Context context) {
this.display = Display.DIALOG;
this.updateFrom = UpdateFrom.GOOGLE_PLAY;
this.duration = Duration.NORMAL;
this.showEvery = 5;
this.showEvery = 1;
this.showAppUpdated = false;
}

Expand Down Expand Up @@ -66,7 +66,7 @@ public void setGitHubUserAndRepo(String user, String repo) {
}

/**
* Set the times the app ascertains that a new update is available and display a dialog, Snackbar or notification. It makes the updates less invasive. Default: 5.
* Set the times the app ascertains that a new update is available and display a dialog, Snackbar or notification. It makes the updates less invasive. Default: 1.
*
* @param times every X times
*/
Expand All @@ -77,7 +77,7 @@ public void showEvery(Integer times) {
/**
* Set if the dialog, Snackbar or notification is displayed although there aren't updates. Default: false.
*
* @param res
* @param res true to show, false otherwise
*/
public void showAppUpdated(Boolean res) {
this.showAppUpdated = res;
Expand Down

0 comments on commit d12017b

Please sign in to comment.