Skip to content

Commit

Permalink
Merge pull request #73 from thanhbinh84/reset-data
Browse files Browse the repository at this point in the history
add reset data feature
  • Loading branch information
Shintaro Katafuchi committed Oct 26, 2015
2 parents 34cc499 + 72964f6 commit 32673e6
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions library/src/main/java/hotchemi/android/rate/AppRate.java
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,12 @@ public AppRate clearAgreeShowDialog() {
return this;
}

public AppRate clearSettingsParam() {
PreferenceHelper.setAgreeShowDialog(context, true);
PreferenceHelper.clearSharedPreferences(context);
return this;
}

public AppRate setAgreeShowDialog(boolean clear) {
PreferenceHelper.setAgreeShowDialog(context, clear);
return this;
Expand Down

0 comments on commit 32673e6

Please sign in to comment.