Fix unread reset and notification settings (#1824)

* reset unread with client sync state change

* fix notification toggle setting not working

* revert formatOnSave vscode setting
This commit is contained in:
Ajay Bura
2024-07-23 10:44:32 +05:30
committed by GitHub
parent e2228a18c1
commit e6d6b0349e
9 changed files with 62 additions and 100 deletions

View File

@@ -30,15 +30,3 @@ export function toggleNickAvatarEvents() {
type: cons.actions.settings.TOGGLE_NICKAVATAR_EVENT,
});
}
export function toggleNotifications() {
appDispatcher.dispatch({
type: cons.actions.settings.TOGGLE_NOTIFICATIONS,
});
}
export function toggleNotificationSounds() {
appDispatcher.dispatch({
type: cons.actions.settings.TOGGLE_NOTIFICATION_SOUNDS,
});
}