diff options
Diffstat (limited to 'app/src/main/java/com/zeapo')
-rw-r--r-- | app/src/main/java/com/zeapo/pwdstore/UserPreference.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/src/main/java/com/zeapo/pwdstore/UserPreference.java b/app/src/main/java/com/zeapo/pwdstore/UserPreference.java index e143c57c..437333ac 100644 --- a/app/src/main/java/com/zeapo/pwdstore/UserPreference.java +++ b/app/src/main/java/com/zeapo/pwdstore/UserPreference.java @@ -108,7 +108,7 @@ public class UserPreference extends AppCompatActivity { //TODO Handle the diffent cases of exceptions } - sharedPreferences.edit().putBoolean("repository_initialized", false).commit(); + sharedPreferences.edit().putBoolean("repository_initialized", false).apply(); dialogInterface.cancel(); callingActivity.finish(); } |