make sure the file is on the sd card before trying the saf dialog
This commit is contained in:
parent
d28f0fe01b
commit
6bb03cda1a
1 changed files with 1 additions and 1 deletions
|
@ -168,7 +168,7 @@ fun BaseSimpleActivity.deleteFileBg(file: File, allowDeleteFolder: Boolean = fal
|
|||
rescanDeletedFile(file) {
|
||||
callback(true)
|
||||
}
|
||||
} else {
|
||||
} else if (isPathOnSD(file.absolutePath)) {
|
||||
handleSAFDialog(file) {
|
||||
fileDeleted = tryFastDocumentDelete(file)
|
||||
if (!fileDeleted) {
|
||||
|
|
Loading…
Reference in a new issue