pass url and title to share call. update bundle.js in apple apps
This commit is contained in:
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)
|
||||
|
||||
Reference in New Issue
Block a user