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
mobile: add a ? check before checking if note exists
ammarahm-ed9c3219638d1e
diff --git a/apps/mobile/app/hooks/use-actions.js b/apps/mobile/app/hooks/use-actions.jsindex 3f21d290f..601cfd3fe 100644--- a/apps/mobile/app/hooks/use-actions.js+++ b/apps/mobile/app/hooks/use-actions.js@@ -100,7 +100,7 @@ export const useActions = ({ close = () => null, item }) => {const currentScreen = useNavigationStore.getState().currentScreen;if (item.type !== "note" || currentScreen.name !== "TopicNotes") return;return (- db.notes?.topicReferences.get(currentScreen.id).indexOf(item.id) > -1+ db.notes?.topicReferences?.get(currentScreen.id)?.indexOf(item.id) > -1);};