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