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() {
|
private fun emptyRecycleBin() {
|
||||||
activity.emptyTheRecycleBin {
|
activity.handleLockedFolderOpening(RECYCLE_BIN) {
|
||||||
listener?.refreshItems()
|
activity.emptyTheRecycleBin {
|
||||||
|
listener?.refreshItems()
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private fun emptyAndDisableRecycleBin() {
|
private fun emptyAndDisableRecycleBin() {
|
||||||
activity.showRecycleBinEmptyingDialog {
|
activity.handleLockedFolderOpening(RECYCLE_BIN) {
|
||||||
activity.emptyAndDisableTheRecycleBin {
|
activity.showRecycleBinEmptyingDialog {
|
||||||
listener?.refreshItems()
|
activity.emptyAndDisableTheRecycleBin {
|
||||||
|
listener?.refreshItems()
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue