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 number of notes not appearing on topic
ammarahm-ed1cfaeb631433
diff --git a/apps/mobile/src/components/NotebookItem/index.js b/apps/mobile/src/components/NotebookItem/index.jsindex d1f88e6a9..9418eef2e 100644--- a/apps/mobile/src/components/NotebookItem/index.js+++ b/apps/mobile/src/components/NotebookItem/index.js@@ -205,28 +205,28 @@ export const NotebookItem = ({</View>) : null}- {isTopic || isTrash ? null : (- <View+ <View+ style={{+ flexDirection: 'row',+ justifyContent: 'flex-start',+ alignItems: 'center',+ marginTop: 5,+ }}>+ <Textstyle={{- flexDirection: 'row',- justifyContent: 'flex-start',- alignItems: 'center',- marginTop: 5,+ color: colors.icon,+ fontSize: SIZE.xxs,+ textAlignVertical: 'center',+ fontFamily: WEIGHT.regular,}}>- <Text- style={{- color: colors.icon,- fontSize: SIZE.xxs,- textAlignVertical: 'center',- fontFamily: WEIGHT.regular,- }}>- {item && item.totalNotes && item.totalNotes > 1- ? item.totalNotes + ' notes'- : item.totalNotes === 1- ? item.totalNotes + ' note'- : '0 notes'}- </Text>+ {item && item.totalNotes && item.totalNotes > 1+ ? item.totalNotes + ' notes'+ : item.totalNotes === 1+ ? item.totalNotes + ' note'+ : '0 notes'}+ </Text>+ {isTopic || isTrash ? null : (<Textstyle={{color: colors.accent,@@ -237,8 +237,8 @@ export const NotebookItem = ({}}>{new Date(item.dateCreated).toDateString().substring(4)}</Text>- </View>- )}+ )}+ </View></TouchableOpacity>{hideMore ||(item.title === 'General' && item.type === 'topic') ? null : (