Merge pull request #2383 from KryptKode/fix/sdk30-saf-source-folder

sdk 30 changes
This commit is contained in:
Tibor Kaputa 2022-03-19 22:19:05 +01:00 committed by GitHub
commit 0d43373cb4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -250,11 +250,7 @@ fun BaseSimpleActivity.tryCopyMoveFilesTo(fileDirItems: ArrayList<FileDirItem>,
val destination = it val destination = it
handleSAFDialog(source) { handleSAFDialog(source) {
if (it) { if (it) {
handleSAFDialogSdk30(fileDirItems[0].path){ copyMoveFilesTo(fileDirItems, source.trimEnd('/'), destination, isCopyOperation, true, config.shouldShowHidden, callback)
if (it) {
copyMoveFilesTo(fileDirItems, source.trimEnd('/'), destination, isCopyOperation, true, config.shouldShowHidden, callback)
}
}
} }
} }
} }