diff --git a/src/lib/components/lemmy/community/CommunityItem.svelte b/src/lib/components/lemmy/community/CommunityItem.svelte index afdbdd7b..4da3c118 100644 --- a/src/lib/components/lemmy/community/CommunityItem.svelte +++ b/src/lib/components/lemmy/community/CommunityItem.svelte @@ -20,6 +20,7 @@ Trash, } from 'svelte-hero-icons' import Subscribe from '../../../../routes/communities/Subscribe.svelte' + import { settings } from '$lib/settings.svelte' let showInfo = $state(false) interface Props { @@ -65,11 +66,16 @@ ? 'flex-col gap-2' : 'flex-row'} gap-2 items-center" > - {#if icon}{@render icon()}{:else} + {#if icon}{@render icon()}{:else if community.community.nsfw && settings.nsfwBlur} +
+ {:else} {/if}
- + {#if community.nsfw && settings.nsfwBlur} +
+ {:else} + + {/if} {/snippet} {#snippet popover()}