From f55dae3027bc31690a380c89ccdea73a8c5a8098 Mon Sep 17 00:00:00 2001 From: Danny Liu Date: Sat, 16 Mar 2024 23:27:08 -0700 Subject: [PATCH] fix merge conflict --- src/lib/components/chat/Settings/General.svelte | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/lib/components/chat/Settings/General.svelte b/src/lib/components/chat/Settings/General.svelte index 95161f798..6a8bae355 100644 --- a/src/lib/components/chat/Settings/General.svelte +++ b/src/lib/components/chat/Settings/General.svelte @@ -117,9 +117,9 @@ function handleThemeChange(newTheme: string) { selectedTheme = newTheme; - setTheme(newTheme); // Update the store - localStorage.setItem('theme', newTheme); // Persist the theme selection - applyTheme(newTheme); // Apply the selected theme + setTheme(newTheme); + localStorage.setItem('theme', newTheme); + applyTheme(newTheme); } @@ -133,7 +133,7 @@