From 585bc0cb4993323c855cf4112491b5c55bfcd611 Mon Sep 17 00:00:00 2001 From: Fuwn Date: Sun, 27 Aug 2023 17:40:50 -0700 Subject: feat(manga): chapter rounding --- src/routes/settings/+page.svelte | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) (limited to 'src/routes') diff --git a/src/routes/settings/+page.svelte b/src/routes/settings/+page.svelte index f7b64296..32ecfed8 100644 --- a/src/routes/settings/+page.svelte +++ b/src/routes/settings/+page.svelte @@ -5,10 +5,12 @@ import { chapterDatabase } from '$lib/chapterDatabase'; import cacheMangaMinutes from '../../stores/cacheMangaMinutes'; import cacheMinutes from '../../stores/cacheMinutes'; + import roundDownChapters from '../../stores/roundDownChapters'; export let data; $: displayingUnresolved = $displayUnresolved === 'true'; + $: roundingDownChapters = $roundDownChapters === 'true'; $: mangaClosed = $closeMangaByDefault === 'true'; $: animeClosed = $closeAnimeByDefault === 'true'; @@ -44,13 +46,17 @@ displayingUnresolved ? displayUnresolved.set('false') : displayUnresolved.set('true')} >{displayingUnresolved ? 'Hide' : 'Show'} unresolved + Displays unresolved chapter counts as "?"
  • - Prune ALL cached, unresolved manga (for instant re-cache) + roundingDownChapters ? roundDownChapters.set('false') : roundDownChapters.set('true')} + >{roundingDownChapters ? 'Round down' : 'Maintain'} chapters + 50/50.6 would not be due
  • -
  • Prune ALL cached manga
  • {mangaClosed ? 'Expand' : 'Close'} manga panel by default
  • +
  • + Re-cache ALL unresolved manga +
  • +
  • Re-cache ALL manga
  • Re-cache ALL media keys every minutes
  • -- cgit v1.2.3