From c5f2c05c2e90d10782fe5cbc354029bb78bd2d1a Mon Sep 17 00:00:00 2001 From: SrGooglo Date: Thu, 12 Oct 2023 19:57:33 +0000 Subject: [PATCH] fix sound id --- packages/app/src/cores/sound/sound.core.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/app/src/cores/sound/sound.core.js b/packages/app/src/cores/sound/sound.core.js index b6e83ad0..5ba969ae 100755 --- a/packages/app/src/cores/sound/sound.core.js +++ b/packages/app/src/cores/sound/sound.core.js @@ -75,7 +75,7 @@ export default class SoundCore extends Core { // if button exist and has aria-checked attribute then play switch_on or switch_off if (button) { if (button.hasAttribute("aria-checked")) { - return this.public.useUIAudio(button.getAttribute("aria-checked") === "true" ? "component.slider_down" : "component.slider_up") + return this.public.useUIAudio(button.getAttribute("aria-checked") === "true" ? "component.switch_off" : "component.switch_on") } return this.public.useUIAudio("generic_click")