feat(ui): launch-at-login toggle + refresh-hardware button

This commit is contained in:
iamdoubz committed 2026-07-14 16:24:27 -05:00
1 parent a6e1728346
commit 203e7b1bf6
1 file changed
+17 -1
+17 -1
View File
@@ -754,13 +754,29 @@
</label>
<p class="muted">{t("settings.recording.auto_hint")}</p>
<label class="row">
<input
type="checkbox"
checked={settings.settings.auto_start}
onchange={(e) => settings.setAutoStart((e.target as HTMLInputElement).checked)}
/>
<span>{t("settings.recording.autostart_label")}</span>
</label>
<p class="muted">{t("settings.recording.autostart_hint")}</p>
{#if showConsent}
<ConsentNotice onAccept={acceptConsent} onCancel={() => (showConsent = false)} />
{/if}
</section>
{:else if section === "hardware"}
<section>
<h3>{t("settings.hardware.title")}</h3>
<div class="actions">
<h3>{t("settings.hardware.title")}</h3>
<button class="ghost" onclick={() => settings.loadHardware()}>
<RefreshCw size={14} aria-hidden="true" />
{t("settings.hardware.refresh")}
</button>
</div>
{#if settings.hardware}
<div class="row">
{t("settings.hardware.active_backend")}<code>{settings.hardware.active}</code>