Skip to content

Commit

Permalink
Fix filePath for renderMethod PDF generation
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex H authored and alexfigtree committed Oct 23, 2024
1 parent 39f0c74 commit 1a78dfa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/screens/PublicLinkScreen/PublicLinkScreen.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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}`});
}
};

Expand Down
2 changes: 1 addition & 1 deletion app/types/pdf.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
export type PDF = {
readonly filepath: string;
readonly filePath: string;
}

0 comments on commit 1a78dfa

Please sign in to comment.