From 3e14524154c7eb1a53d015d67eab4cb199cbe511 Mon Sep 17 00:00:00 2001 From: Timothy Jaeryang Baek Date: Fri, 24 Apr 2026 16:39:44 +0900 Subject: [PATCH] refac --- src/routes/+layout.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/routes/+layout.svelte b/src/routes/+layout.svelte index 0dc8170eef..01d9c10b65 100644 --- a/src/routes/+layout.svelte +++ b/src/routes/+layout.svelte @@ -489,7 +489,7 @@ const displayTitle = title || $i18n.t('New Chat'); if (done) { - if ($settings?.notificationSoundAlways ?? false) { + if (($settings?.notificationSound ?? true) && ($settings?.notificationSoundAlways ?? false)) { playingNotificationSound.set(true); const audio = new Audio(`/audio/notification.mp3`);