From 9a9515eb69458c0e28fedc66072eecc25b326a45 Mon Sep 17 00:00:00 2001
From: Fuwn <contact@fuwn.me>
Date: Fri, 20 Oct 2023 18:15:26 -0700
Subject: fix(settings): change livechart mode

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

(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 ffd34788..ce64f141 100644
--- a/src/lib/List/Anime/CleanAnimeList.svelte
+++ b/src/lib/List/Anime/CleanAnimeList.svelte
@@ -37,11 +37,11 @@
 		{@const progress = (anime.mediaListEntry || { progress: 0 }).progress}
 		<li>
 			<a
-				href={$settings.linkToAniList
-					? `https://anilist.co/anime/${anime.id}`
-					: `https://www.livechart.me/search?q=${
+				href={$settings.linkToLiveChart
+					? `https://www.livechart.me/search?q=${
 							anime.title.native || anime.title.english || anime.title.romaji
-					  }`}
+					  }`
+					: `https://anilist.co/anime/${anime.id}`}
 				target="_blank"
 			>
 				{#if lastUpdatedMedia === anime.id}
-- 
cgit v1.2.3


From 95d76ef56500e6cf22e89531a8139be493bdb53d Mon Sep 17 00:00:00 2001
From: Fuwn <contact@fuwn.me>
Date: Sat, 21 Oct 2023 03:40:44 -0700
Subject: fix(list): hide caught up last updated highlight

---
 src/lib/List/Anime/CleanAnimeList.svelte | 2 +-
 1 file changed, 1 insertion(+), 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 ce64f141..d480aca7 100644
--- a/src/lib/List/Anime/CleanAnimeList.svelte
+++ b/src/lib/List/Anime/CleanAnimeList.svelte
@@ -44,7 +44,7 @@
 					: `https://anilist.co/anime/${anime.id}`}
 				target="_blank"
 			>
-				{#if lastUpdatedMedia === anime.id}
+				{#if lastUpdatedMedia === anime.id && anime.mediaListEntry?.progress !== progress}
 					<span style="color: lightcoral">
 						{anime.title.english || anime.title.romaji || anime.title.native}
 					</span>
-- 
cgit v1.2.3


From 2000b8695898070020b55727fd7f6a026f7e6687 Mon Sep 17 00:00:00 2001
From: Fuwn <contact@fuwn.me>
Date: Mon, 23 Oct 2023 11:51:16 -0700
Subject: fix(list): compare episodes to progress highlight

---
 src/lib/List/Anime/CleanAnimeList.svelte | 2 +-
 1 file changed, 1 insertion(+), 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 d480aca7..30443e83 100644
--- a/src/lib/List/Anime/CleanAnimeList.svelte
+++ b/src/lib/List/Anime/CleanAnimeList.svelte
@@ -44,7 +44,7 @@
 					: `https://anilist.co/anime/${anime.id}`}
 				target="_blank"
 			>
-				{#if lastUpdatedMedia === anime.id && anime.mediaListEntry?.progress !== progress}
+				{#if lastUpdatedMedia === anime.id && anime.episodes !== progress}
 					<span style="color: lightcoral">
 						{anime.title.english || anime.title.romaji || anime.title.native}
 					</span>
-- 
cgit v1.2.3

