simplifying a path check at deleting folders

This commit is contained in:
tibbi 2021-11-30 16:05:16 +01:00
parent e3223d69ac
commit 05a81e53c5

View file

@ -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