refs #677 Fix default settings of unread notification
This commit is contained in:
parent
8934d16cc8
commit
744c65d990
|
@ -6,6 +6,6 @@ export default {
|
|||
default: true
|
||||
},
|
||||
Public: {
|
||||
default: true
|
||||
default: false
|
||||
}
|
||||
}
|
||||
|
|
|
@ -779,6 +779,7 @@ ipcMain.on('get-unread-notification', (event, accountID) => {
|
|||
event.sender.send('response-get-unread-notification', doc)
|
||||
})
|
||||
.catch(err => {
|
||||
console.warn(err)
|
||||
event.sender.send('error-get-unread-notification', err)
|
||||
})
|
||||
})
|
||||
|
|
|
@ -57,6 +57,7 @@ const SideMenu = {
|
|||
commit('changeUnreadNotifications', false)
|
||||
commit('changeUnreadLocalTimeline', false)
|
||||
commit('changeUnreadDirectMessagesTimeline', false)
|
||||
commit('changeUnreadPublicTimeline', false)
|
||||
},
|
||||
changeCollapse ({ commit }, value) {
|
||||
commit('changeCollapse', value)
|
||||
|
|
Loading…
Reference in New Issue