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 crash when navigating
ammarahm-ed3aba1f9a74f9
diff --git a/apps/mobile/src/components/Menu/ColorSection.js b/apps/mobile/src/components/Menu/ColorSection.jsindex 8b3942f16..9eeb9c8fe 100644--- a/apps/mobile/src/components/Menu/ColorSection.js+++ b/apps/mobile/src/components/Menu/ColorSection.js@@ -37,7 +37,7 @@ const ColorItem = React.memo(const onHeaderStateChange = event => {setTimeout(() => {- if (event.id === item.name.toLowerCase() + '_navigation') {+ if (event.id === item.id) {setHeaderTextState(event);} else {if (headerTextState !== null) {diff --git a/apps/mobile/src/components/Menu/TagsSection.js b/apps/mobile/src/components/Menu/TagsSection.jsindex c3d1124c8..96b71af4b 100644--- a/apps/mobile/src/components/Menu/TagsSection.js+++ b/apps/mobile/src/components/Menu/TagsSection.js@@ -108,7 +108,7 @@ export const PinItem = React.memo(const onHeaderStateChange = event => {setTimeout(() => {- if (event.id === item.name.toLowerCase() + '_navigation') {+ if (event.id === item.id) {setHeaderTextState(event);} else {if (headerTextState !== null) {