Skip to content

Commit dc16eb0

Browse files
Merge pull request #2 from KANekT/patch-1
Update Chooser.swift
2 parents 9354a09 + 98464f4 commit dc16eb0

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/ios/Chooser.swift

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@ class Chooser : CDVPlugin {
4747

4848
do {
4949
let result = [[
50-
"data": data.base64EncodedString(),
5150
"mediaType": self.detectMimeType(newURL),
5251
"name": newURL.lastPathComponent,
5352
"uri": newURL.absoluteString
@@ -165,4 +164,4 @@ extension Chooser : UIDocumentPickerDelegate {
165164
func documentPickerWasCancelled (_ controller: UIDocumentPickerViewController) {
166165
self.sendError("RESULT_CANCELED")
167166
}
168-
}
167+
}

0 commit comments

Comments
 (0)