From 1a38ecbe75a60943c125b2c90a6e61d1a71bc158 Mon Sep 17 00:00:00 2001 From: Harsh Shandilya Date: Sat, 22 Feb 2020 22:52:35 +0530 Subject: Delete passwords recursively (#639) Delete passwords recursively * Fixes #638 * Update CHANGELOG Signed-off-by: Harsh Shandilya --- app/src/main/java/com/zeapo/pwdstore/PasswordStore.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/src') diff --git a/app/src/main/java/com/zeapo/pwdstore/PasswordStore.kt b/app/src/main/java/com/zeapo/pwdstore/PasswordStore.kt index 14d039ce..5cb0316e 100644 --- a/app/src/main/java/com/zeapo/pwdstore/PasswordStore.kt +++ b/app/src/main/java/com/zeapo/pwdstore/PasswordStore.kt @@ -493,7 +493,7 @@ class PasswordStore : AppCompatActivity() { MaterialAlertDialogBuilder(this) .setMessage(resources.getString(R.string.delete_dialog_text, item.longName)) .setPositiveButton(resources.getString(R.string.dialog_yes)) { _, _ -> - item.file.delete() + item.file.deleteRecursively() adapter.remove(position) it.remove() adapter.updateSelectedItems(position, selectedItems) -- cgit v1.2.3