2
0
Fork 1
mirror of https://github.com/FossifyOrg/Gallery.git synced 2025-04-21 02:44:00 +02:00

update commons

This commit is contained in:
darthpaul 2022-03-13 03:37:40 +00:00
parent fedc56846a
commit 9a3d16354c
2 changed files with 4 additions and 4 deletions
app/src/main/kotlin/com/simplemobiletools/gallery/pro/adapters

View file

@ -626,9 +626,9 @@ class DirectoryAdapter(
return@handleSAFDialog
}
activity.handleSAFDeleteSdk30Dialog(SAFPath){
activity.handleSAFDialogSdk30(SAFPath){
if (!it) {
return@handleSAFDeleteSdk30Dialog
return@handleSAFDialogSdk30
}
var foldersToDelete = ArrayList<File>(selectedKeys.size)

View file

@ -468,9 +468,9 @@ class MediaAdapter(
}
val sdk30SafPath = selectedPaths.firstOrNull { activity.isAccessibleWithSAFSdk30(it) } ?: getFirstSelectedItemPath() ?: return@handleSAFDialog
activity.handleSAFDeleteSdk30Dialog(sdk30SafPath){
activity.handleSAFDialogSdk30(sdk30SafPath){
if (!it) {
return@handleSAFDeleteSdk30Dialog
return@handleSAFDialogSdk30
}
val fileDirItems = ArrayList<FileDirItem>(selectedKeys.size)