mirror of
https://github.com/cinnyapp/cinny.git
synced 2025-11-15 03:30:29 +03:00
Notification sounds (#367)
* Basic notification sound support * Add settings option for notification sounds * Allow sound without desktop notifications
This commit is contained in:
parent
a2655ee6a5
commit
dc6e153b92
7 changed files with 78 additions and 24 deletions
|
|
@ -36,3 +36,9 @@ export function toggleNotifications() {
|
|||
type: cons.actions.settings.TOGGLE_NOTIFICATIONS,
|
||||
});
|
||||
}
|
||||
|
||||
export function toggleNotificationSounds() {
|
||||
appDispatcher.dispatch({
|
||||
type: cons.actions.settings.TOGGLE_NOTIFICATION_SOUNDS,
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue