Allow desired retention to be set to 0.7

https://github.com/open-spaced-repetition/fsrs-rs/issues/79#issuecomment-1733779005
This commit is contained in:
Damien Elmes 2023-09-26 13:03:49 +10:00
parent 1395f3e5e6
commit bae8038178
2 changed files with 2 additions and 2 deletions

View File

@ -270,7 +270,7 @@ pub(crate) fn ensure_deck_config_values_valid(config: &mut DeckConfigInner) {
ensure_f32_valid(
&mut config.desired_retention,
default.desired_retention,
0.8,
0.7,
0.97,
);
}

View File

@ -189,7 +189,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
<SpinBoxFloatRow
bind:value={$config.desiredRetention}
defaultValue={defaults.desiredRetention}
min={0.8}
min={0.7}
max={0.97}
>
<SettingTitle>