mirror of
https://github.com/FossifyOrg/Gallery.git
synced 2024-11-30 00:17:58 +01:00
update commons
This commit is contained in:
parent
fedc56846a
commit
9a3d16354c
2 changed files with 4 additions and 4 deletions
|
@ -626,9 +626,9 @@ class DirectoryAdapter(
|
||||||
return@handleSAFDialog
|
return@handleSAFDialog
|
||||||
}
|
}
|
||||||
|
|
||||||
activity.handleSAFDeleteSdk30Dialog(SAFPath){
|
activity.handleSAFDialogSdk30(SAFPath){
|
||||||
if (!it) {
|
if (!it) {
|
||||||
return@handleSAFDeleteSdk30Dialog
|
return@handleSAFDialogSdk30
|
||||||
}
|
}
|
||||||
|
|
||||||
var foldersToDelete = ArrayList<File>(selectedKeys.size)
|
var foldersToDelete = ArrayList<File>(selectedKeys.size)
|
||||||
|
|
|
@ -468,9 +468,9 @@ class MediaAdapter(
|
||||||
}
|
}
|
||||||
|
|
||||||
val sdk30SafPath = selectedPaths.firstOrNull { activity.isAccessibleWithSAFSdk30(it) } ?: getFirstSelectedItemPath() ?: return@handleSAFDialog
|
val sdk30SafPath = selectedPaths.firstOrNull { activity.isAccessibleWithSAFSdk30(it) } ?: getFirstSelectedItemPath() ?: return@handleSAFDialog
|
||||||
activity.handleSAFDeleteSdk30Dialog(sdk30SafPath){
|
activity.handleSAFDialogSdk30(sdk30SafPath){
|
||||||
if (!it) {
|
if (!it) {
|
||||||
return@handleSAFDeleteSdk30Dialog
|
return@handleSAFDialogSdk30
|
||||||
}
|
}
|
||||||
|
|
||||||
val fileDirItems = ArrayList<FileDirItem>(selectedKeys.size)
|
val fileDirItems = ArrayList<FileDirItem>(selectedKeys.size)
|
||||||
|
|
Loading…
Reference in a new issue