Skip to content

Commit

Permalink
Missing apply() method on SharedPreferences is fixed.
Browse files Browse the repository at this point in the history
  • Loading branch information
iammert committed Jan 31, 2016
1 parent ce699e9 commit 7549d64
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,6 @@ public void setDisplayed(String id){
}

public void reset(String id){
sharedPreferences.edit().putBoolean(id, false);
sharedPreferences.edit().putBoolean(id, false).apply();
}
}
4 changes: 2 additions & 2 deletions sample/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,6 @@ dependencies {
testCompile 'junit:junit:4.12'
compile 'com.android.support:appcompat-v7:23.1.1'
compile 'com.android.support:design:23.1.1'
//compile 'com.github.iammert:MaterialIntroView:1.0'
compile project(':materialintro')
compile 'com.github.iammert:MaterialIntroView:1.2'
//compile project(':materialintro')
}

0 comments on commit 7549d64

Please sign in to comment.