interday sibling burying is only valid in v3

This commit is contained in:
Damien Elmes 2022-02-23 14:33:52 +10:00
parent 4ed499fbab
commit 1a3eef505f

View file

@ -39,14 +39,16 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
</SwitchRow>
</Item>
<Item>
<SwitchRow
bind:value={$config.buryInterdayLearning}
defaultValue={defaults.buryInterdayLearning}
markdownTooltip={tr.deckConfigBuryTooltip()}
>
{tr.deckConfigBuryInterdayLearningSiblings()}
</SwitchRow>
</Item>
{#if state.v3Scheduler}
<Item>
<SwitchRow
bind:value={$config.buryInterdayLearning}
defaultValue={defaults.buryInterdayLearning}
markdownTooltip={tr.deckConfigBuryTooltip()}
>
{tr.deckConfigBuryInterdayLearningSiblings()}
</SwitchRow>
</Item>
{/if}
</DynamicallySlottable>
</TitledContainer>