add handling for recycle bin locking too
This commit is contained in:
parent
4d3d7eaf3f
commit
3b2d9322fd
1 changed files with 9 additions and 5 deletions
|
@ -257,15 +257,19 @@ class DirectoryAdapter(activity: BaseSimpleActivity, var dirs: ArrayList<Directo
|
|||
}
|
||||
|
||||
private fun emptyRecycleBin() {
|
||||
activity.emptyTheRecycleBin {
|
||||
listener?.refreshItems()
|
||||
activity.handleLockedFolderOpening(RECYCLE_BIN) {
|
||||
activity.emptyTheRecycleBin {
|
||||
listener?.refreshItems()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private fun emptyAndDisableRecycleBin() {
|
||||
activity.showRecycleBinEmptyingDialog {
|
||||
activity.emptyAndDisableTheRecycleBin {
|
||||
listener?.refreshItems()
|
||||
activity.handleLockedFolderOpening(RECYCLE_BIN) {
|
||||
activity.showRecycleBinEmptyingDialog {
|
||||
activity.emptyAndDisableTheRecycleBin {
|
||||
listener?.refreshItems()
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue