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: fix linked note not opening from attachment properties
Ammar Ahmed404168fb8635
diff --git a/apps/mobile/app/components/attachments/actions.tsx b/apps/mobile/app/components/attachments/actions.tsxindex 6c9afd3da..7adf4490e 100644--- a/apps/mobile/app/components/attachments/actions.tsx+++ b/apps/mobile/app/components/attachments/actions.tsx@@ -59,6 +59,7 @@ import Heading from "../ui/typography/heading";import Paragraph from "../ui/typography/paragraph";import { strings } from "@notesnook/intl";import { DefaultAppStyles } from "../../utils/styles";+import Navigation from "../../services/navigation";const Actions = ({attachment,@@ -304,9 +305,9 @@ const Actions = ({<PressableonPress={async () => {eSendEvent(eCloseSheet, contextId);- await sleep(150);+ close?.();eSendEvent(eCloseAttachmentDialog);- await sleep(300);+ Navigation.navigate("FluidPanelsView");openNote(item, (item as any).type === "trash");}}style={{