Skip to content

Commit

Permalink
flutter handshake changed
Browse files Browse the repository at this point in the history
  • Loading branch information
prtkjakhar committed Oct 10, 2023
1 parent a859f0c commit e80f123
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion apps/amakrushi/src/components/HistoryPage/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ const HistoryPage: NextPage = () => {
window.AndroidHandler.shareUrl(pdfUrl);
}else{
//@ts-ignore
AndroidHandler.postMesage(pdfUrl);
shareUrl.postMesage(pdfUrl);
}
} else if (navigator.canShare({ files: [file] })) {
toast.success(`${t('message.sharing')}`);
Expand Down
2 changes: 1 addition & 1 deletion apps/amakrushi/src/components/NavBar/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ function NavBar() {
window.AndroidHandler.shareUrl(pdfUrl);
}else{
//@ts-ignore
AndroidHandler.postMesage(pdfUrl);
shareUrl.postMesage(pdfUrl);
}
} else if (navigator.canShare({ files: [file] })) {
toast.success(`${t('message.sharing')}`);
Expand Down

0 comments on commit e80f123

Please sign in to comment.