Skip to content

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

show only file attachments

ammarahm-ed4fb236103ced
diff --git a/apps/mobile/src/components/AttachmentDialog/index.js b/apps/mobile/src/components/AttachmentDialog/index.js
index 77047c0b7..249361b2a 100644
--- a/apps/mobile/src/components/AttachmentDialog/index.js
+++ b/apps/mobile/src/components/AttachmentDialog/index.js
@@ -50,7 +50,7 @@ export const AttachmentDialog = () => {
const open = item => {
setNote(item);
setVisible(true);
- let _attachments = db.attachments.ofNote(item.id, "all");
+ let _attachments = db.attachments.ofNote(item.id, "files");
setAttachments(_attachments);
};