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

View file

@ -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)

View file

@ -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)