From 96d160b9bde2179d24f2f65676365e151d10f1f2 Mon Sep 17 00:00:00 2001
From: Fuwn <contact@fuwn.me>
Date: Sun, 17 Dec 2023 18:23:47 -0800
Subject: feat(settings): rename calculation options

---
 src/routes/settings/+page.svelte | 16 +++++++++++-----
 1 file changed, 11 insertions(+), 5 deletions(-)

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

diff --git a/src/routes/settings/+page.svelte b/src/routes/settings/+page.svelte
index b85fcc9e..04d02739 100644
--- a/src/routes/settings/+page.svelte
+++ b/src/routes/settings/+page.svelte
@@ -192,7 +192,10 @@
 	<details open id="calculation">
 		<summary>Calculation</summary>
 
-		<SettingCheckboxToggle setting="roundDownChapters" text="Round down chapters (recommended)">
+		<SettingCheckboxToggle
+			setting="calculateChaptersRoundedDown"
+			text="Round down chapters (recommended)"
+		>
 			<SettingHint lineBreak>
 				Round down to the nearest whole number. (e.g., 50/50.6 would <b>not</b> be due)
 			</SettingHint>
@@ -201,7 +204,7 @@
 		<br />
 
 		<SettingCheckboxToggle
-			setting="disableOutOfDateVolumeWarning"
+			setting="calculateDisableOutOfDateVolumeWarning"
 			text="Disable out-of-date volume warning"
 		>
 			<SettingHint lineBreak>
@@ -217,17 +220,20 @@
 
 		<br />
 
-		<SettingCheckboxToggle setting="disableGuessing" text="Disable informed chapter estimation">
+		<SettingCheckboxToggle
+			setting="calculateGuessingDisabled"
+			text="Disable informed chapter estimation"
+		>
 			<SettingHint lineBreak>
 				Enabling this setting will disable light novel chapter counts and may cause inaccuracy in
 				unresolved manga and light novel chapter counts
 			</SettingHint>
 		</SettingCheckboxToggle>
 
-		{#if !$settings.disableGuessing}
+		{#if !$settings.calculateGuessingDisabled}
 			<br />
 
-			<select bind:value={$settings.guessMethod} on:change={pruneAllManga}>
+			<select bind:value={$settings.calculateGuessMethod} on:change={pruneAllManga}>
 				<option value="mode">Mode (fast, moderate to low accuracy)</option>
 				<option value="median">Median (moderate speed, high accuracy, recommended)</option>
 				<option value="iqr_median">Interquartile Range with Median (slower, high accuracy)</option>
-- 
cgit v1.2.3

