feat: using theme name for folder instead themeid

This commit is contained in:
Moyasee
2025-11-09 15:28:52 +02:00
parent 53bc3551e1
commit e272470a7b
7 changed files with 77 additions and 28 deletions

View File

@@ -47,7 +47,10 @@ async function getAchievementSoundPath(): Promise<string> {
const activeTheme = allThemes.find((theme) => theme.isActive);
if (activeTheme?.hasCustomSound) {
const themeSoundPath = getThemeSoundPath(activeTheme.id);
const themeSoundPath = getThemeSoundPath(
activeTheme.id,
activeTheme.name
);
if (themeSoundPath) {
return themeSoundPath;
}