Dependencies update, add switch for frontlight off when dark

This commit is contained in:
Djuri 2024-12-10 14:49:44 +01:00
parent f0fa58b5ea
commit 25e91b2086
6 changed files with 206 additions and 347 deletions

View file

@ -517,6 +517,7 @@
max={1000}
step={1}
/>
<FormText>{$_('section.settings.luxLightToggleText')}</FormText>
</Col>
</Row>
{/if}
@ -578,6 +579,15 @@
label={$_('section.settings.flFlashOnUpd')}
/>
</Col>
<Col md="6" xl="12" xxl="6">
<Input
id="flOffWhenDark"
bind:checked={$settings.flOffWhenDark}
type="switch"
bsSize={$uiSettings.inputSize}
label={$_('section.settings.flOffWhenDark')}
/>
</Col>
{/if}
</Row>
</ToggleHeader>