diff --git a/web/src/components/buttons/SettingsCheckbox.svelte b/web/src/components/buttons/SettingsCheckbox.svelte index eee4f9e9..b8f98afd 100644 --- a/web/src/components/buttons/SettingsCheckbox.svelte +++ b/web/src/components/buttons/SettingsCheckbox.svelte @@ -8,6 +8,8 @@ import settings, { updateSetting } from "$lib/settings"; import type { CobaltSettings } from "$lib/types/settings"; + import IconCheck from "@tabler/icons-svelte/IconCheck.svelte"; + export let settingContext: Context; export let settingId: Id; @@ -18,18 +20,23 @@ $: isChecked = !!setting; -
- - updateSetting({ - [settingContext]: { - [settingId]: isChecked, - }, - })} - /> +
+ \ No newline at end of file +