diff --git a/app/src/main/kotlin/com/simplemobiletools/gallery/pro/adapters/DirectoryAdapter.kt b/app/src/main/kotlin/com/simplemobiletools/gallery/pro/adapters/DirectoryAdapter.kt index c44684d85..ed6a021cd 100644 --- a/app/src/main/kotlin/com/simplemobiletools/gallery/pro/adapters/DirectoryAdapter.kt +++ b/app/src/main/kotlin/com/simplemobiletools/gallery/pro/adapters/DirectoryAdapter.kt @@ -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