|
|
|
@ -1,6 +1,6 @@ |
|
|
|
import { useAppStore } from '@core/stores/appStore.js'; |
|
|
|
|
|
|
|
const notificationSound = new Audio("/notification.wav"); |
|
|
|
const notificationSound = new Audio("/notification.wav"); //change sound if needed
|
|
|
|
|
|
|
|
let isPlaying = false; |
|
|
|
|
|
|
|
@ -10,7 +10,6 @@ export const playNotificationSound = () => { |
|
|
|
isPlaying = true; |
|
|
|
notificationSound.play(); |
|
|
|
|
|
|
|
|
|
|
|
notificationSound.onended = () => { |
|
|
|
isPlaying = false; |
|
|
|
}; |
|
|
|
|