From 6cc6424d978efcf6c1765d388181e49e75255c02 Mon Sep 17 00:00:00 2001
From: Fuwn <contact@fuwn.me>
Date: Wed, 6 Sep 2023 00:15:57 -0700
Subject: feat(list): filter paused media

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

(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 224a3e49..5024f8c2 100644
--- a/src/lib/List/Due/AnimeList.svelte
+++ b/src/lib/List/Due/AnimeList.svelte
@@ -47,6 +47,8 @@
 		const releasingMedia = flattenedLists.filter(
 			(media: Media) =>
 				media.status == 'RELEASING' &&
+				(media.mediaListEntry || { status: 'DROPPED' }).status !=
+					($settings.includePausedMedia ? '' : 'PAUSED') &&
 				(media.mediaListEntry || { progress: 0 }).progress >=
 					($settings.displayNotStarted === true ? 0 : 1)
 		);
-- 
cgit v1.2.3

