Skip to content

Commit 3de4439

Browse files
committed
Return null when the user doesn't select a folder
1 parent 9a89cb4 commit 3de4439

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)