From 478da07bf7fa6eab587650e487ed34cc220017f4 Mon Sep 17 00:00:00 2001
From: Fuwn <contact@fuwn.me>
Date: Mon, 28 Aug 2023 01:39:25 -0700
Subject: feat(settings): toggle zero progress media

---
 src/routes/settings/+page.svelte | 12 ++++++++++++
 1 file changed, 12 insertions(+)

(limited to 'src/routes/settings/+page.svelte')

diff --git a/src/routes/settings/+page.svelte b/src/routes/settings/+page.svelte
index 087cc445..c3153700 100644
--- a/src/routes/settings/+page.svelte
+++ b/src/routes/settings/+page.svelte
@@ -7,6 +7,7 @@
 	import cacheMinutes from '../../stores/cacheMinutes';
 	import roundDownChapters from '../../stores/roundDownChapters';
 	import sortByDifference from '../../stores/sortByDifference';
+	import displayNotStarted from '../../stores/displayNotStarted';
 
 	export let data;
 
@@ -54,6 +55,17 @@
 			>
 			<small style="opacity: 50%;">Displays unresolved chapter counts as "?"</small>
 		</li>
+		<li>
+			<a
+				href="#"
+				on:click={() =>
+					$displayNotStarted === 'true'
+						? displayNotStarted.set('false')
+						: displayNotStarted.set('true')}
+				>{$displayNotStarted === 'true' ? 'Hide' : 'Show'} media with zero progress</a
+			>
+			<small style="opacity: 50%;">Displays unresolved chapter counts as "?"</small>
+		</li>
 		<li>
 			<a
 				href="#"
-- 
cgit v1.2.3

