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 2fe3db372..b3ed7542d 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 @@ -626,9 +626,9 @@ class DirectoryAdapter( return@handleSAFDialog } - activity.handleSAFDeleteSdk30Dialog(SAFPath){ + activity.handleSAFDialogSdk30(SAFPath){ if (!it) { - return@handleSAFDeleteSdk30Dialog + return@handleSAFDialogSdk30 } var foldersToDelete = ArrayList(selectedKeys.size) diff --git a/app/src/main/kotlin/com/simplemobiletools/gallery/pro/adapters/MediaAdapter.kt b/app/src/main/kotlin/com/simplemobiletools/gallery/pro/adapters/MediaAdapter.kt index e048add72..3ca5cd943 100644 --- a/app/src/main/kotlin/com/simplemobiletools/gallery/pro/adapters/MediaAdapter.kt +++ b/app/src/main/kotlin/com/simplemobiletools/gallery/pro/adapters/MediaAdapter.kt @@ -468,9 +468,9 @@ class MediaAdapter( } val sdk30SafPath = selectedPaths.firstOrNull { activity.isAccessibleWithSAFSdk30(it) } ?: getFirstSelectedItemPath() ?: return@handleSAFDialog - activity.handleSAFDeleteSdk30Dialog(sdk30SafPath){ + activity.handleSAFDialogSdk30(sdk30SafPath){ if (!it) { - return@handleSAFDeleteSdk30Dialog + return@handleSAFDialogSdk30 } val fileDirItems = ArrayList(selectedKeys.size)