mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
pass url and title to share call. update bundle.js in apple apps
This commit is contained in:
parent
51117290d7
commit
4b3533c17d
2 changed files with 7 additions and 2 deletions
File diff suppressed because one or more lines are too long
|
|
@ -93,7 +93,12 @@ export function ArticleContainer(props: ArticleContainerProps): JSX.Element {
|
|||
}
|
||||
|
||||
const share = () => {
|
||||
navigator.share()
|
||||
if (navigator.share) {
|
||||
navigator.share({
|
||||
title: props.article.title,
|
||||
url: props.article.originalArticleUrl,
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
document.addEventListener('increaseFontSize', increaseFontSize)
|
||||
|
|
|
|||
Loading…
Reference in a new issue