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
show number of notes zero on topic
ammarahm-ede85cd38988ac
diff --git a/apps/mobile/src/components/NotebookItem/index.js b/apps/mobile/src/components/NotebookItem/index.jsindex 254faef7f..f1a3fa6b5 100644--- a/apps/mobile/src/components/NotebookItem/index.js+++ b/apps/mobile/src/components/NotebookItem/index.js@@ -193,22 +193,21 @@ export const NotebookItem = ({</Text></View>)}- {isTopic && item.totalNotes > 0 ? (- <Text- style={{- color: colors.icon,- fontSize: SIZE.xxs,- textAlignVertical: 'center',- fontFamily: WEIGHT.regular,- marginTop: 5,- }}>- {item && item.totalNotes && item.totalNotes > 1- ? item.totalNotes + ' notes'- : item.totalNotes === 1- ? item.totalNotes + ' note'- : null}- </Text>- ) : null}++ <Text+ style={{+ color: colors.icon,+ fontSize: SIZE.xxs,+ textAlignVertical: 'center',+ fontFamily: WEIGHT.regular,+ marginTop: 5,+ }}>+ {item && item.totalNotes && item.totalNotes > 1+ ? item.totalNotes + ' notes'+ : item.totalNotes === 1+ ? item.totalNotes + ' note'+ : '0 notes'}+ </Text></TouchableOpacity>{hideMore ||(item.title === 'General' && item.type === 'topic') ? null : (@@ -243,7 +242,7 @@ export const NotebookItem = ({onPress={async () => {let noteIds = [];selectedItemsList.forEach(item => noteIds.push(item.id));-+db.notes.move({topic: item.title,