From 482d9b2f96bada5fb42c35e7b07e2189912bd22b Mon Sep 17 00:00:00 2001 From: Moyasee Date: Sat, 8 Nov 2025 15:14:12 +0200 Subject: [PATCH] fix: ensure consistent custom sound detection across main and renderer processes --- src/main/services/notifications/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/services/notifications/index.ts b/src/main/services/notifications/index.ts index f1df1478..926ba47a 100644 --- a/src/main/services/notifications/index.ts +++ b/src/main/services/notifications/index.ts @@ -46,7 +46,7 @@ async function getAchievementSoundPath(): Promise { const allThemes = await themesSublevel.values().all(); const activeTheme = allThemes.find((theme) => theme.isActive); - if (activeTheme) { + if (activeTheme?.hasCustomSound) { const themeSoundPath = getThemeSoundPath(activeTheme.id); if (themeSoundPath) { return themeSoundPath;