From 295a461dda6424b5ac3bb2059f40c9e9ac6e55ff Mon Sep 17 00:00:00 2001 From: kashaf-ansari-dev Date: Wed, 8 Jul 2026 17:55:00 +0500 Subject: [PATCH] mobile: wire upgrade plan button to paywall on link-note Signed-off-by: kashaf-ansari-dev --- .../mobile/app/components/sheets/link-note/index.tsx | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/apps/mobile/app/components/sheets/link-note/index.tsx b/apps/mobile/app/components/sheets/link-note/index.tsx index 8e4a67323..3e68e1d20 100644 --- a/apps/mobile/app/components/sheets/link-note/index.tsx +++ b/apps/mobile/app/components/sheets/link-note/index.tsx @@ -40,6 +40,8 @@ import { Button } from "../../ui/button"; import Input from "../../ui/input"; import { Pressable } from "../../ui/pressable"; import Paragraph from "../../ui/typography/paragraph"; +import Navigation from "../../../services/navigation"; +import { useUserStore } from "../../../stores/use-user-store"; const ListNoteItem = ({ id, @@ -356,6 +358,16 @@ export default function LinkNote(props: { width: "100%" }} type="accent" + onPress={() => { + Navigation.navigate("PayWall", { + context: useUserStore.getState().user + ? "logged-in" + : "logged-out", + canGoBack: true + }); + + props.close?.(); + }} /> ) : null