From de58dd275faaac78c3690200977f63ec287f34a9 Mon Sep 17 00:00:00 2001 From: Xylight Date: Sat, 7 Sep 2024 10:55:12 -0700 Subject: [PATCH] fix: make global/local share options icons --- .../components/lemmy/post/PostActions.svelte | 33 +++++++++++++------ src/lib/components/ui/ExpandableImage.svelte | 2 +- 2 files changed, 24 insertions(+), 11 deletions(-) diff --git a/src/lib/components/lemmy/post/PostActions.svelte b/src/lib/components/lemmy/post/PostActions.svelte index 4abaf5d3..93fe6ab4 100644 --- a/src/lib/components/lemmy/post/PostActions.svelte +++ b/src/lib/components/lemmy/post/PostActions.svelte @@ -15,8 +15,10 @@ Eye, EyeSlash, Flag, + GlobeAmericas, Icon, Language, + MapPin, Newspaper, PencilSquare, ServerStack, @@ -300,17 +302,28 @@ > {$t('post.actions.more.share')} +
{#if !post.post.local} - +
+ + +
{/if} {#if post.post.body && $userSettings.translator} diff --git a/src/lib/components/ui/ExpandableImage.svelte b/src/lib/components/ui/ExpandableImage.svelte index 97890326..3472c2df 100644 --- a/src/lib/components/ui/ExpandableImage.svelte +++ b/src/lib/components/ui/ExpandableImage.svelte @@ -108,7 +108,7 @@ title={$t('post.actions.more.share')} loading={sharing} > - +