feat(settings): close-to-tray toggle in Settings
This commit is contained in:
1 parent
4a000f07a2
commit
8c6a0ea25c
1 file changed
+11
@@ -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}
|
||||
|
||||
Reference in new issue
Block a user