From e6f48a3aa7072ee44a4fc07fede3f93fa2398ec9 Mon Sep 17 00:00:00 2001 From: Allen Collier Date: Tue, 23 Jul 2024 21:16:16 -0400 Subject: [PATCH 1/2] LightModal bug if light doesn't support color don't show color --- src/lib/Modal/LightModal.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/Modal/LightModal.svelte b/src/lib/Modal/LightModal.svelte index 7d7273d3..eebe09cd 100644 --- a/src/lib/Modal/LightModal.svelte +++ b/src/lib/Modal/LightModal.svelte @@ -238,7 +238,7 @@ {/if} - {#if supports?.BRIGHTNESS && selTab !== 'white'} + {#if supports?.COLOR && selTab !== 'white'} Date: Tue, 23 Jul 2024 21:36:26 -0400 Subject: [PATCH 2/2] change heading when color isn't supported --- src/lib/Modal/LightModal.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/Modal/LightModal.svelte b/src/lib/Modal/LightModal.svelte index eebe09cd..00f949ec 100644 --- a/src/lib/Modal/LightModal.svelte +++ b/src/lib/Modal/LightModal.svelte @@ -200,7 +200,7 @@ {/if} - {#if supports?.BRIGHTNESS} + {#if supports?.COLOR}

{$lang('change_color')}

{/if}