mirror of
https://github.com/FossifyOrg/Gallery.git
synced 2024-11-23 04:57:59 +01:00
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