From 45c128e0be6bfaeefd809c745275ee8d9798ff4c Mon Sep 17 00:00:00 2001
From: Fuwn <contact@fuwn.me>
Date: Fri, 20 Oct 2023 16:54:53 -0700
Subject: feat(manga): disable chapter guessing

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

(limited to 'src/lib/List/Template/MangaListTemplate.svelte')

diff --git a/src/lib/List/Template/MangaListTemplate.svelte b/src/lib/List/Template/MangaListTemplate.svelte
index 9823f97f..a0b48bdf 100644
--- a/src/lib/List/Template/MangaListTemplate.svelte
+++ b/src/lib/List/Template/MangaListTemplate.svelte
@@ -69,7 +69,9 @@
 					($settings.displayNotStarted === true ? 0 : 1)
 		);
 		let finalMedia = releasingMedia;
-		const chapterPromises = finalMedia.map((m: Media) => chapterCount(identity, m));
+		const chapterPromises = finalMedia.map((m: Media) =>
+			chapterCount(identity, m, $settings.disableGuessing)
+		);
 		const chapterCounts = await Promise.all(chapterPromises);
 
 		finalMedia.forEach((m: Media, i) => {
-- 
cgit v1.2.3

