diff --git a/src/lib/components/lemmy/post/PostActions.svelte b/src/lib/components/lemmy/post/PostActions.svelte index c4766153..dbf1ef08 100644 --- a/src/lib/components/lemmy/post/PostActions.svelte +++ b/src/lib/components/lemmy/post/PostActions.svelte @@ -158,13 +158,14 @@ {/if} - navigator.clipboard.writeText( - `https://${getInstance()}/post/${post.post.id}` - )} + on:click={() => { + navigator.share?.({ + url: post.post.ap_id, + }) ?? navigator.clipboard.writeText(post.post.ap_id) + }} > - Copy Link + Share {#if $profile?.jwt}