Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

cancel media attachment download task on note close

ammarahm-eddd18a1bb5cd3
diff --git a/apps/mobile/src/views/Editor/EditorHeader.js b/apps/mobile/src/views/Editor/EditorHeader.js
index afe60dbf2..de19e1f4d 100644
--- a/apps/mobile/src/views/Editor/EditorHeader.js
+++ b/apps/mobile/src/views/Editor/EditorHeader.js
@@ -241,6 +241,7 @@ const EditorHeader = () => {
};
const _onHardwareBackPress = async () => {
+ db.fs.cancel(getNote()?.id);
if (editing.currentlyEditing) {
await _onBackPress();
return true;