Fix spacing and settings

This commit is contained in:
tezlm 2022-05-18 21:28:32 -07:00
parent 3afbb5ae8c
commit eda943738a
3 changed files with 4 additions and 4 deletions

View file

@ -187,12 +187,12 @@ class Settings extends EventEmitter {
}, },
[cons.actions.settings.TOGGLE_TYPING_NOTIFICATIONS]: () => { [cons.actions.settings.TOGGLE_TYPING_NOTIFICATIONS]: () => {
this.sendTypingNotifications = !this.sendTypingNotifications; this.sendTypingNotifications = !this.sendTypingNotifications;
setSettings('hideNickAvatarEvents', this.sendTypingNotifications); setSettings('sendTypingNotifications', this.sendTypingNotifications);
this.emit(cons.events.settings.SEND_TYPING_TOGGLED, this.sendTypingNotifications); this.emit(cons.events.settings.SEND_TYPING_TOGGLED, this.sendTypingNotifications);
}, },
[cons.actions.settings.TOGGLE_READ_RECEIPTS]: () => { [cons.actions.settings.TOGGLE_READ_RECEIPTS]: () => {
this.sendReadReceipts = !this.sendReadReceipts; this.sendReadReceipts = !this.sendReadReceipts;
setSettings('hideNickAvatarEvents', this.sendReadReceipts); setSettings('sendReadReceipts', this.sendReadReceipts);
this.emit(cons.events.settings.SEND_RECEIPTS_TOGGLED, this.sendReadReceipts); this.emit(cons.events.settings.SEND_RECEIPTS_TOGGLED, this.sendReadReceipts);
}, },
[cons.actions.settings.TOGGLE_NOTIFICATIONS]: async () => { [cons.actions.settings.TOGGLE_NOTIFICATIONS]: async () => {