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: prevent crash in note properties when expiryDate is undefined
kashaf-ansari-dev9e5ed67eb31b
diff --git a/apps/mobile/app/hooks/use-actions.tsx b/apps/mobile/app/hooks/use-actions.tsxindex e0fb8b95e..a23dd9c23 100644--- a/apps/mobile/app/hooks/use-actions.tsx+++ b/apps/mobile/app/hooks/use-actions.tsx@@ -1183,7 +1183,7 @@ export const useActions = ({title: item.expiryDate?.value? strings.unsetExpiry(): strings.setExpiry(),- icon: item.expiryDate.value ? "bomb-off" : "bomb",+ icon: item.expiryDate?.value ? "bomb-off" : "bomb",locked: !features?.expiringNotes?.isAllowed,onPress: async () => {if (item.expiryDate?.value) {