Skip to content

Commit 937e2f7

Browse files
author
lask
authored
Merge pull request #14 from daentech/master
Return null when the user doesn't select a folder
2 parents 9a89cb4 + 3de4439 commit 937e2f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

android/src/main/kotlin/io/lakscastro/sharedstorage/saf/DocumentFileApi.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -342,9 +342,9 @@ internal class DocumentFileApi(private val plugin: SharedStoragePlugin) :
342342
)
343343

344344
pendingResult.second.success("$uri")
345-
346345
return true
347346
}
347+
pendingResult.second.success(null)
348348
} finally {
349349
pendingResults.remove(OPEN_DOCUMENT_TREE_CODE)
350350
}

0 commit comments

Comments
 (0)