mirror of
https://github.com/FossifyOrg/Gallery.git
synced 2024-11-26 22:47:59 +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,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