hide light sensor option when no light sensor
This commit is contained in:
parent
993bb45d0d
commit
68207a7d95
1 changed files with 8 additions and 6 deletions
|
@ -190,6 +190,7 @@
|
|||
size={$uiSettings.inputSize}
|
||||
/>
|
||||
|
||||
{#if $settings.hasLightLevel}
|
||||
<SettingsSwitch
|
||||
id="flOffWhenDark"
|
||||
bind:checked={$settings.flOffWhenDark}
|
||||
|
@ -197,6 +198,7 @@
|
|||
size={$uiSettings.inputSize}
|
||||
/>
|
||||
{/if}
|
||||
{/if}
|
||||
</Row>
|
||||
</ToggleHeader>
|
||||
</Row>
|
||||
|
|
Loading…
Add table
Reference in a new issue