avoid showing the strings twice

While it can help to show the link between the settings, having multiple
sections change at once feels a bit over the top
This commit is contained in:
Damien Elmes 2021-04-17 22:56:55 +10:00
parent 328f1af8db
commit 4e63de0625

View file

@ -49,7 +49,6 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
<StepsInput
label="Learning steps"
subLabel="Learning steps, separated by spaces."
warnings={[stepsExceedGraduatingInterval]}
defaultValue={defaults.learnSteps}
value={$config.learnSteps}
on:changed={(evt) => ($config.learnSteps = evt.detail.value)} />
@ -72,7 +71,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
<SpinBox
label={tr.schedulingGraduatingInterval()}
subLabel="Days to wait after answering Good on the last learning step."
warnings={[stepsExceedGraduatingInterval, goodExceedsEasy]}
warnings={[stepsExceedGraduatingInterval]}
defaultValue={defaults.graduatingIntervalGood}
bind:value={$config.graduatingIntervalGood} />