From 2610c87089d71f7889f7817665bc121d2fc92977 Mon Sep 17 00:00:00 2001 From: Xylight Date: Mon, 1 Jul 2024 18:57:20 -0700 Subject: [PATCH] feat: add support for distinguished comments --- src/lib/components/lemmy/comment/Comment.svelte | 12 ++++++++++-- .../components/lemmy/comment/CommentActions.svelte | 2 +- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/src/lib/components/lemmy/comment/Comment.svelte b/src/lib/components/lemmy/comment/Comment.svelte index fd6ff076..b78f33b4 100644 --- a/src/lib/components/lemmy/comment/Comment.svelte +++ b/src/lib/components/lemmy/comment/Comment.svelte @@ -102,7 +102,9 @@ {/if}
  • @@ -160,8 +162,14 @@
    + {#if node.comment_view.comment.distinguished} +
    + {/if}
    diff --git a/src/lib/components/lemmy/comment/CommentActions.svelte b/src/lib/components/lemmy/comment/CommentActions.svelte index 01b54968..2a43ec9d 100644 --- a/src/lib/components/lemmy/comment/CommentActions.svelte +++ b/src/lib/components/lemmy/comment/CommentActions.svelte @@ -42,7 +42,7 @@ {/if} -
    +