main #4

Merged
oat merged 68 commits from :main into main 2022-12-03 14:59:04 +01:00
1 changed files with 11 additions and 0 deletions
Showing only changes of commit fe421257e5 - Show all commits

View File

@ -149,6 +149,17 @@ class Header extends ImmutablePureComponent {
}
}
handleShare = () => {
const { account } = this.props;
navigator.share({
text: `${titleFromAccount(account)}\n${account.get('note_plain')}`,
url: account.get('url'),
}).catch((e) => {
if (e.name !== 'AbortError') console.error(e);
});
}
render () {
const { account, hidden, intl, domain } = this.props;
const { signedIn } = this.context.identity;