From cedc294b232e2f902fb73a867788e4b5e48beebd Mon Sep 17 00:00:00 2001
From: Fuwn <contact@fuwn.me>
Date: Sat, 16 Dec 2023 00:19:52 -0800
Subject: feat(anime): right align countdown option

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

(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 c4d61a3c..2c7c7e26 100644
--- a/src/lib/List/Anime/CleanAnimeList.svelte
+++ b/src/lib/List/Anime/CleanAnimeList.svelte
@@ -69,7 +69,9 @@
 				{#if $settings.displaySocialButton}
 					[<a href={`https://anilist.co/anime/${anime.id}/social`} target="_blank">S</a>]
 				{/if}
-				<span style="opacity: 50%;">|</span>
+				{#if !$settings.displayCountdownRightAligned || title !== 'Upcoming Episodes'}
+					<span style="opacity: 50%;">|</span>
+				{/if}
 				{#if title !== 'Upcoming Episodes'}
 					<!-- {anime.mediaListEntry?.progress || 0}{@html totalEpisodes(anime)} -->
 					{pendingUpdate === anime.id ? progress + 1 : progress}{@html totalEpisodes(anime)}
-- 
cgit v1.2.3

