Delete passwords recursively (#639)
Delete passwords recursively * Fixes #638 * Update CHANGELOG Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
This commit is contained in:
parent
5c3ee3fdbf
commit
1a38ecbe75
2 changed files with 4 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue