From 498aba9a0cf00df5b707390860cca1decfa890ea Mon Sep 17 00:00:00 2001 From: Dmitri Zagidulin Date: Tue, 11 Jun 2024 15:05:33 -0400 Subject: [PATCH] Fix pdf filepath param. --- app/screens/PublicLinkScreen/PublicLinkScreen.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/screens/PublicLinkScreen/PublicLinkScreen.tsx b/app/screens/PublicLinkScreen/PublicLinkScreen.tsx index 77bc141f..b0dff4aa 100644 --- a/app/screens/PublicLinkScreen/PublicLinkScreen.tsx +++ b/app/screens/PublicLinkScreen/PublicLinkScreen.tsx @@ -76,7 +76,7 @@ export default function PublicLinkScreen ({ navigation, route }: PublicLinkScree const handleShareAsPdf = async() => { if (pdf) { - Share.open({url: `file://${pdf.filePath}`}); + Share.open({url: `file://${pdf.filepath}`}); } };