From a87091152d5fe3fbeb1110123f2bed1563c56db5 Mon Sep 17 00:00:00 2001 From: Youwen Wu Date: Sat, 24 Feb 2024 21:36:26 -0800 Subject: [PATCH] style: update settings input icons --- client/src/lib/Apps/Settings/Settings.svelte | 2 +- client/src/lib/Apps/Settings/SettingsInput.svelte | 9 +++++++-- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/client/src/lib/Apps/Settings/Settings.svelte b/client/src/lib/Apps/Settings/Settings.svelte index 733d52d..74e4956 100644 --- a/client/src/lib/Apps/Settings/Settings.svelte +++ b/client/src/lib/Apps/Settings/Settings.svelte @@ -40,7 +40,7 @@ RNG Weight diff --git a/client/src/lib/Apps/Settings/SettingsInput.svelte b/client/src/lib/Apps/Settings/SettingsInput.svelte index f154d34..74ed9b5 100644 --- a/client/src/lib/Apps/Settings/SettingsInput.svelte +++ b/client/src/lib/Apps/Settings/SettingsInput.svelte @@ -28,6 +28,11 @@ // @ts-expect-error value = get(settingsStore)[setting] }) + + settingsStore.subscribe(data => { + // @ts-expect-error + value = data[setting] + }) @@ -39,10 +44,10 @@ class="text-slate-800 rounded-lg p-0.5 text-center" />