From 8bfa7fdc7ccc75f6ef465884a2844fb07b37ca22 Mon Sep 17 00:00:00 2001 From: tibbi Date: Wed, 15 Jun 2022 16:29:45 +0200 Subject: [PATCH] use the new way of getting FileDirItem content URIs --- app/build.gradle | 2 +- .../com/simplemobiletools/gallery/pro/dialogs/SaveAsDialog.kt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index 4d1b67072..8b0cb0f60 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -78,7 +78,7 @@ android { } dependencies { - implementation 'com.github.SimpleMobileTools:Simple-Commons:4b3acbca86' + implementation 'com.github.SimpleMobileTools:Simple-Commons:e919f1507b' implementation 'com.theartofdev.edmodo:android-image-cropper:2.8.0' implementation 'it.sephiroth.android.exif:library:1.0.1' implementation 'pl.droidsonroids.gif:android-gif-drawable:1.2.24' diff --git a/app/src/main/kotlin/com/simplemobiletools/gallery/pro/dialogs/SaveAsDialog.kt b/app/src/main/kotlin/com/simplemobiletools/gallery/pro/dialogs/SaveAsDialog.kt index ca0f11412..48afaea8b 100644 --- a/app/src/main/kotlin/com/simplemobiletools/gallery/pro/dialogs/SaveAsDialog.kt +++ b/app/src/main/kotlin/com/simplemobiletools/gallery/pro/dialogs/SaveAsDialog.kt @@ -84,7 +84,7 @@ class SaveAsDialog( val isInSubFolderInDownloadDir = activity.isInSubFolderInDownloadDir(newPath) if ((isRPlus() && !isExternalStorageManager()) && isInDownloadDir && !isInSubFolderInDownloadDir && !newFile.canWrite()) { val fileDirItem = arrayListOf(File(newPath).toFileDirItem(activity)) - val fileUris = activity.getFileUrisFromFileDirItems(fileDirItem).second + val fileUris = activity.getFileUrisFromFileDirItems(fileDirItem) activity.updateSDK30Uris(fileUris) { success -> if (success) { selectPath(this, newPath)