Skip to content

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

mobile: fix notes.length > getTotalNote()

ammarahm-ed568925421181
diff --git a/apps/mobile/app/components/sheets/add-to/index.js b/apps/mobile/app/components/sheets/add-to/index.js
index eb97dd55c..a20837da1 100644
--- a/apps/mobile/app/components/sheets/add-to/index.js
+++ b/apps/mobile/app/components/sheets/add-to/index.js
@@ -435,7 +435,7 @@ const MoveNoteComponent = ({ note }) => {
{item.title}
</Paragraph>
<Paragraph color={colors.icon} size={SIZE.xs}>
- {item.notes.length + " notes"}
+ {getTotalNotes(item) + " notes"}
</Paragraph>
{getCount(item) ? (
<View