feat(settings): close-to-tray toggle in Settings

This commit is contained in:
iamdoubz committed 2026-07-15 14:01:41 -05:00
1 parent 4a000f07a2
commit 8c6a0ea25c
1 file changed
+11
+11
View File
@@ -866,6 +866,17 @@
</label>
<p class="muted">{t("settings.recording.autostart_hint")}</p>
<label class="row">
<input
type="checkbox"
checked={settings.settings.close_to_tray}
onchange={(e) =>
settings.patch({ close_to_tray: (e.target as HTMLInputElement).checked })}
/>
<span>{t("settings.recording.close_tray_label")}</span>
</label>
<p class="muted">{t("settings.recording.close_tray_hint")}</p>
{#if showConsent}
<ConsentNotice onAccept={acceptConsent} onCancel={() => (showConsent = false)} />
{/if}