Skip to content

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

mobile: fix all attachments show in audios

Ammar Ahmed16afc07b2f24
diff --git a/apps/mobile/app/components/attachments/index.tsx b/apps/mobile/app/components/attachments/index.tsx
index 3a2d32029..1d6458c51 100644
--- a/apps/mobile/app/components/attachments/index.tsx
+++ b/apps/mobile/app/components/attachments/index.tsx
@@ -177,7 +177,7 @@ export const AttachmentDialog = ({ note }: { note?: Note }) => {
case "audio":
items = note
? db.attachments.ofNote(note.id, "audio")
- : db.attachments.all;
+ : db.attachments.audios;
break;
case "documents":
items = note