mirror of
https://github.com/FossifyOrg/Gallery.git
synced 2024-11-30 00:17:58 +01:00
Merge pull request #2383 from KryptKode/fix/sdk30-saf-source-folder
sdk 30 changes
This commit is contained in:
commit
0d43373cb4
1 changed files with 1 additions and 5 deletions
|
@ -249,16 +249,12 @@ fun BaseSimpleActivity.tryCopyMoveFilesTo(fileDirItems: ArrayList<FileDirItem>,
|
||||||
PickDirectoryDialog(this, source, true, false) {
|
PickDirectoryDialog(this, source, true, false) {
|
||||||
val destination = it
|
val destination = it
|
||||||
handleSAFDialog(source) {
|
handleSAFDialog(source) {
|
||||||
if (it) {
|
|
||||||
handleSAFDialogSdk30(fileDirItems[0].path){
|
|
||||||
if (it) {
|
if (it) {
|
||||||
copyMoveFilesTo(fileDirItems, source.trimEnd('/'), destination, isCopyOperation, true, config.shouldShowHidden, callback)
|
copyMoveFilesTo(fileDirItems, source.trimEnd('/'), destination, isCopyOperation, true, config.shouldShowHidden, callback)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
fun BaseSimpleActivity.tryDeleteFileDirItem(
|
fun BaseSimpleActivity.tryDeleteFileDirItem(
|
||||||
fileDirItem: FileDirItem, allowDeleteFolder: Boolean = false, deleteFromDatabase: Boolean,
|
fileDirItem: FileDirItem, allowDeleteFolder: Boolean = false, deleteFromDatabase: Boolean,
|
||||||
|
|
Loading…
Reference in a new issue