From 9a3d16354cb9391f59563290f62998460186c2ef Mon Sep 17 00:00:00 2001 From: darthpaul Date: Sun, 13 Mar 2022 03:37:40 +0000 Subject: [PATCH] update commons --- .../gallery/pro/adapters/DirectoryAdapter.kt | 4 ++-- .../simplemobiletools/gallery/pro/adapters/MediaAdapter.kt | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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)