diff --git a/web/src/components/buttons/SettingsToggle.svelte b/web/src/components/buttons/SettingsToggle.svelte index 75a564e5..f9c3cbfd 100644 --- a/web/src/components/buttons/SettingsToggle.svelte +++ b/web/src/components/buttons/SettingsToggle.svelte @@ -39,16 +39,14 @@ updateSetting({ [settingContext]: { [settingId]: !isEnabled, - }, - })} + } + }) + } >

{title}

- + {#if description}
{description}
{/if} diff --git a/web/src/components/settings/LanguageDropdown.svelte b/web/src/components/settings/SettingsDropdown.svelte similarity index 64% rename from web/src/components/settings/LanguageDropdown.svelte rename to web/src/components/settings/SettingsDropdown.svelte index 89f2b44f..585d5e67 100644 --- a/web/src/components/settings/LanguageDropdown.svelte +++ b/web/src/components/settings/SettingsDropdown.svelte @@ -1,57 +1,69 @@ - -
-
+
+

- {$t("settings.language.preferred.title")} + {title}

- onChange(e)} {disabled}> + {#each Object.keys(items) as value} + {/each}
-
- {$t("settings.language.preferred.description")} -
+ + {#if description} +
+ {description} +
+ {/if}