Skip to content

Commit

Permalink
forgot to change version
Browse files Browse the repository at this point in the history
  • Loading branch information
Rachel030219 committed Nov 11, 2016
1 parent 8d6202a commit 4ae1095
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
4 changes: 2 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ android {
applicationId "net.rachel030219.hashchecker"
minSdkVersion 9
targetSdkVersion 25
versionCode 13
versionName "1.3 STABLE"
versionCode 14
versionName "1.3.1 STABLE"
}
buildTypes {
release {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -213,15 +213,15 @@ private void showFileChooser() {

public void checkUpdated(){
final SharedPreferences preferences = getSharedPreferences("updated",MODE_PRIVATE);
if(!preferences.getBoolean("updated13",false)){
if(!preferences.getBoolean("updated13.1",false)){
preferences.edit().clear().apply();
AlertDialog.Builder dialog = new AlertDialog.Builder(this);
dialog.setTitle(R.string.updated_title);
dialog.setMessage(R.string.updated_changelog);
dialog.setPositiveButton("GOT IT",new DialogInterface.OnClickListener(){
@Override
public void onClick(DialogInterface dialog,int count){
preferences.edit().putBoolean("updated13",true).apply();
preferences.edit().putBoolean("updated13.1",true).apply();
}
});
dialog.show();
Expand Down
2 changes: 2 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@

buildscript {
repositories {
jcenter()
mavenCentral()
}
dependencies {
Expand All @@ -29,6 +30,7 @@ buildscript {

allprojects {
repositories {
jcenter()
mavenCentral()
}
}
Expand Down

0 comments on commit 4ae1095

Please sign in to comment.