From 68207a7d95b6cb16df5c991b84ff40c25c23755b Mon Sep 17 00:00:00 2001 From: Djuri Baars Date: Thu, 16 Jan 2025 00:29:45 +0100 Subject: [PATCH] hide light sensor option when no light sensor --- src/lib/components/settings/DisplaySettings.svelte | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/src/lib/components/settings/DisplaySettings.svelte b/src/lib/components/settings/DisplaySettings.svelte index 7981688..0c1ed38 100644 --- a/src/lib/components/settings/DisplaySettings.svelte +++ b/src/lib/components/settings/DisplaySettings.svelte @@ -190,12 +190,14 @@ size={$uiSettings.inputSize} /> - + {#if $settings.hasLightLevel} + + {/if} {/if}