Skip to content
Snippets Groups Projects
Commit 7d0a56d2 authored by Julia Friesel's avatar Julia Friesel
Browse files

Don't show error when cancelling doc picker

parent 88b0dba3
No related branches found
No related tags found
No related merge requests found
...@@ -75,7 +75,8 @@ async function getFileContentAndImport() { ...@@ -75,7 +75,8 @@ async function getFileContentAndImport() {
}) })
}) })
} catch (err) { } catch (err) {
return Alert.alert('There was a problem opening the file picker') // because cancelling also triggers an error, we do nothing here
return
} }
let fileContent let fileContent
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment