[Glitch] Change share action from being in action bar to being in dropdown in web UI

Port 1caa5ff39e to glitch-soc

Co-authored-by: Claire <claire.github-309c@sitedethib.com>
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
This commit is contained in:
Eugen Rochko
2023-05-24 11:04:43 +02:00
committed by Claire
parent 7bec63e6e2
commit e7dc375aab
3 changed files with 9 additions and 13 deletions

View File

@@ -152,7 +152,6 @@ class Header extends ImmutablePureComponent {
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);