From ba74785d0129a092e1b472543350d00be20d3ee3 Mon Sep 17 00:00:00 2001
From: Fuwn <contact@fuwn.me>
Date: Sat, 14 Oct 2023 17:25:58 -0700
Subject: feat(anime): social button

---
 src/lib/List/Anime/CleanAnimeList.svelte | 3 +++
 1 file changed, 3 insertions(+)

(limited to 'src/lib/List/Anime/CleanAnimeList.svelte')

diff --git a/src/lib/List/Anime/CleanAnimeList.svelte b/src/lib/List/Anime/CleanAnimeList.svelte
index 8e33ee12..ffd34788 100644
--- a/src/lib/List/Anime/CleanAnimeList.svelte
+++ b/src/lib/List/Anime/CleanAnimeList.svelte
@@ -52,6 +52,9 @@
 					{anime.title.english || anime.title.romaji || anime.title.native}
 				{/if}
 			</a>
+			{#if $settings.displaySocialButton}
+				[<a href={`https://anilist.co/anime/${anime.id}/social`} target="_blank">S</a>]
+			{/if}
 			<span style="opacity: 50%;">|</span>
 			{#if title !== 'Upcoming Episodes'}
 				<!-- {anime.mediaListEntry?.progress || 0}{@html totalEpisodes(anime)} -->
-- 
cgit v1.2.3

