mirror of
https://github.com/android-password-store/Android-Password-Store
synced 2025-08-30 22:05:19 +00:00
Delete passwords recursively (#639)
Delete passwords recursively * Fixes #638 * Update CHANGELOG Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
This commit is contained in:
@@ -3,6 +3,9 @@ All notable changes to this project will be documented in this file.
|
||||
|
||||
## Unreleased
|
||||
|
||||
### Fixed
|
||||
- Can't delete folders containing a password
|
||||
|
||||
## [1.5.0] - 2020-02-21
|
||||
|
||||
### Added
|
||||
|
@@ -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)
|
||||
|
Reference in New Issue
Block a user