mirror of
https://github.com/FossifyOrg/Gallery.git
synced 2024-11-30 08:18:00 +01:00
sdk 30 changes
- remove handleSAFDialogSdk30 for source paths since we have READ permission
This commit is contained in:
parent
4a3e502484
commit
fa991847fb
1 changed files with 1 additions and 5 deletions
|
@ -249,15 +249,11 @@ 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(
|
||||||
|
|
Loading…
Reference in a new issue