aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app/app-debug.apkbin2047328 -> 2303815 bytes
-rw-r--r--app/src/main/java/com/zeapo/pwdstore/UserPreference.java2
2 files changed, 1 insertions, 1 deletions
diff --git a/app/app-debug.apk b/app/app-debug.apk
index 86fb24e8..8c6d7be3 100644
--- a/app/app-debug.apk
+++ b/app/app-debug.apk
Binary files differ
diff --git a/app/src/main/java/com/zeapo/pwdstore/UserPreference.java b/app/src/main/java/com/zeapo/pwdstore/UserPreference.java
index ba322c28..2280019d 100644
--- a/app/src/main/java/com/zeapo/pwdstore/UserPreference.java
+++ b/app/src/main/java/com/zeapo/pwdstore/UserPreference.java
@@ -82,7 +82,7 @@ public class UserPreference extends AppCompatActivity {
setPositiveButton(R.string.dialog_delete,
(dialog, id) -> {
try {
- FileUtils.deleteDirectory(PasswordRepository.getWorkTree());
+ FileUtils.cleanDirectory(PasswordRepository.getWorkTree());
} catch (Exception e) {
//TODO Handle the diffent cases of exceptions
}