diff --git a/CONTRIBUTORS b/CONTRIBUTORS index 2ea0b86b8..f44565c9f 100644 --- a/CONTRIBUTORS +++ b/CONTRIBUTORS @@ -187,7 +187,7 @@ Christian Donat Asuka Minato Dillon Baldwin Voczi -Ben Nguyen <105088397+bpnguyen107@users.noreply.github.com> +Ben Nguyen <105088397+bpnguyen107@users.noreply.github.com> Themis Demetriades Luke Bartholomew Gregory Abrasaldo diff --git a/qt/aqt/about.py b/qt/aqt/about.py index c4394fab1..25dfa28cb 100644 --- a/qt/aqt/about.py +++ b/qt/aqt/about.py @@ -80,6 +80,7 @@ def show(mw: aqt.AnkiQt) -> QDialog: "Andreas Klauer", "Andrew Wright", "Aristotelis P.", + "Ben Nguyen", "Bernhard Ibertsberger", "C. van Rooyen", "Cenaris Mori", diff --git a/ts/routes/deck-options/FsrsOptions.svelte b/ts/routes/deck-options/FsrsOptions.svelte index 9c91d02e4..b9056b027 100644 --- a/ts/routes/deck-options/FsrsOptions.svelte +++ b/ts/routes/deck-options/FsrsOptions.svelte @@ -64,8 +64,9 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html } $: computing = computingWeights || checkingWeights || computingRetention; $: defaultWeightSearch = `preset:"${state.getCurrentName()}" -is:suspended`; - $: desiredRetentionWarning = getRetentionWarning($config.desiredRetention); - $: retentionWarningClass = getRetentionWarningClass($config.desiredRetention); + $: roundedRetention = Number($config.desiredRetention.toFixed(2)); + $: desiredRetentionWarning = getRetentionWarning(roundedRetention); + $: retentionWarningClass = getRetentionWarningClass(roundedRetention); let computeRetentionProgress: | ComputeWeightsProgress