Skip to content

Commit 6519d39

Browse files
committed
feat: test audio handler with notiifcation sound
1 parent 23e7961 commit 6519d39

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed
Binary file not shown.

GUI/ETVR/src/utils/hooks/notifications/index.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/* eslint-disable */
22

33
import { sendNotification } from '@tauri-apps/api/notification'
4-
4+
import { handleSound } from '../app'
55
import { ENotificationAction, ENotificationType } from '@static/types/enums'
66
import { INotifictionMessage, INotificationAction } from '@static/types/interfaces'
77
import { notifications } from '@store/ui/selectors'
@@ -34,6 +34,7 @@ export const addNotification = (
3434
})
3535
},
3636
callbackApp: () => {
37+
handleSound('EyeTrackApp_Audio_notif.mp3')
3738
setNotificationsType(type as ENotificationType)
3839
notifications()?.create(message)
3940
},

0 commit comments

Comments
 (0)