simplifying a path check at deleting folders
This commit is contained in:
parent
e3223d69ac
commit
05a81e53c5
1 changed files with 1 additions and 8 deletions
|
@ -615,15 +615,8 @@ class DirectoryAdapter(
|
|||
return
|
||||
}
|
||||
|
||||
var SAFPath = ""
|
||||
val SAFPath = getFirstSelectedItemPath() ?: return
|
||||
val selectedDirs = getSelectedItems()
|
||||
selectedDirs.forEach {
|
||||
val path = it.path
|
||||
/*if (activity.needsStupidWritePermissions(path) && config.treeUri.isEmpty()) {
|
||||
SAFPath = path
|
||||
}*/
|
||||
}
|
||||
|
||||
activity.handleSAFDialog(SAFPath) {
|
||||
if (!it) {
|
||||
return@handleSAFDialog
|
||||
|
|
Loading…
Reference in a new issue