use the new way of getting FileDirItem content URIs
This commit is contained in:
parent
ff5019998d
commit
8bfa7fdc7c
2 changed files with 2 additions and 2 deletions
|
@ -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 a new issue