mirror of
https://github.com/SimpleMobileTools/Simple-Gallery.git
synced 2024-12-26 08:13:48 +01:00
use the new way of getting FileDirItem content URIs
This commit is contained in:
parent
ff5019998d
commit
8bfa7fdc7c
@ -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'
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user