A fully open source & end-to-end encrypted note taking alternative to Evernote.
TypeScript asp-net-coredotnet-coreelectronfosshacktoberfestnote-managmentnote-takingnote-taking-appnotebooknotesnotes-appopen-sourceopensourceprivacyproductivityreactreact-nativereactjsself-hosted
fix attachment count not showing
ammarahm-edee9dfe9225eb
diff --git a/apps/mobile/src/components/NoteItem/index.js b/apps/mobile/src/components/NoteItem/index.jsindex 4c97f1c0c..fe0f7b63f 100644--- a/apps/mobile/src/components/NoteItem/index.js+++ b/apps/mobile/src/components/NoteItem/index.js@@ -78,7 +78,7 @@ const NoteItem = ({item, isTrash, tags, dateBy = 'dateCreated'}) => {const {colors} = state;const settings = useSettingStore(state => state.settings);const compactMode = settings.notesListMode === 'compact';- const attachmentCount = db.attachments?.ofNote(item.id)?.length || 0;+ const attachmentCount = db.attachments?.ofNote(item.id,'all')?.length || 0;function getNotebook() {if (isTrash || !item.notebooks || item.notebooks.length < 1) return [];