Anki/ts/graphs/SeparateInactiveCheckbox.svelte
Henrik Giesel 5ee3e0d0d7 Add PreferenceStore with gettable/settable preferences
* setting is not yet hooked up to rslib
2021-01-22 13:14:33 +01:00

13 lines
349 B
Svelte

<script lang="typescript">
import type { I18n } from "anki/i18n";
export let i18n: I18n;
export let cardCountsSeparateInactive: boolean;
const label = i18n.tr(i18n.TR.STATISTICS_COUNTS_SEPARATE_SUSPENDED_BURIED_CARDS);
</script>
<label>
<input type="checkbox" bind:checked={cardCountsSeparateInactive} />
{label}
</label>