From 8c187b6c08a5249e975a754fef30d1f6f68ae677 Mon Sep 17 00:00:00 2001
From: Fuwn <contact@fuwn.me>
Date: Sun, 27 Aug 2023 22:12:37 -0700
Subject: fix(anime): default sort mode

---
 src/lib/List/Due/AnimeList.svelte | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'src/lib/List/Due/AnimeList.svelte')

diff --git a/src/lib/List/Due/AnimeList.svelte b/src/lib/List/Due/AnimeList.svelte
index 506107f8..a7b8960c 100644
--- a/src/lib/List/Due/AnimeList.svelte
+++ b/src/lib/List/Due/AnimeList.svelte
@@ -45,7 +45,7 @@
 		}
 
 		finalMedia.sort((a: Media, b: Media) => {
-			if ($sortByDifference === 'false') {
+			if ($sortByDifference === 'true') {
 				const difference = (anime: Media) => {
 					return (
 						(anime.nextAiringEpisode?.episode === -1
-- 
cgit v1.2.3

