Make handleShare use status.uri instead of status.url
This commit is contained in:
parent
445327d139
commit
ab5b8f747e
|
@ -142,7 +142,7 @@ class StatusActionBar extends ImmutablePureComponent<IStatusActionBar, IStatusAc
|
||||||
handleShareClick = () => {
|
handleShareClick = () => {
|
||||||
navigator.share({
|
navigator.share({
|
||||||
text: this.props.status.search_index,
|
text: this.props.status.search_index,
|
||||||
url: this.props.status.url,
|
url: this.props.status.uri,
|
||||||
}).catch((e) => {
|
}).catch((e) => {
|
||||||
if (e.name !== 'AbortError') console.error(e);
|
if (e.name !== 'AbortError') console.error(e);
|
||||||
});
|
});
|
||||||
|
|
|
@ -285,7 +285,7 @@ class ActionBar extends React.PureComponent<IActionBar, IActionBarState> {
|
||||||
handleShare = () => {
|
handleShare = () => {
|
||||||
navigator.share({
|
navigator.share({
|
||||||
text: this.props.status.search_index,
|
text: this.props.status.search_index,
|
||||||
url: this.props.status.url,
|
url: this.props.status.uri,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue