mirror of
https://github.com/laurent22/joplin.git
synced 2024-11-27 08:21:03 +02:00
Mobile: Fixes #1684: Trying to fix problem when attaching file that contains spaces in name
This commit is contained in:
parent
b65767a43c
commit
3aa0394062
@ -440,7 +440,11 @@ class NoteScreenComponent extends BaseScreenComponent {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
const localFilePath = pickerResponse.uri;
|
const localFilePath = Platform.select({
|
||||||
|
android: pickerResponse.uri,
|
||||||
|
ios: decodeURI(pickerResponse.uri),
|
||||||
|
});
|
||||||
|
|
||||||
let mimeType = pickerResponse.type;
|
let mimeType = pickerResponse.type;
|
||||||
|
|
||||||
if (!mimeType) {
|
if (!mimeType) {
|
||||||
|
@ -144,8 +144,6 @@ class NotesScreenComponent extends BaseScreenComponent {
|
|||||||
notes: notes,
|
notes: notes,
|
||||||
notesSource: source,
|
notesSource: source,
|
||||||
});
|
});
|
||||||
|
|
||||||
console.info('Done', Date.now() - startTime);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
deleteFolder_onPress(folderId) {
|
deleteFolder_onPress(folderId) {
|
||||||
|
Loading…
Reference in New Issue
Block a user