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
|
default: true
|
||||||
},
|
},
|
||||||
Public: {
|
Public: {
|
||||||
default: true
|
default: false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -779,6 +779,7 @@ ipcMain.on('get-unread-notification', (event, accountID) => {
|
||||||
event.sender.send('response-get-unread-notification', doc)
|
event.sender.send('response-get-unread-notification', doc)
|
||||||
})
|
})
|
||||||
.catch(err => {
|
.catch(err => {
|
||||||
|
console.warn(err)
|
||||||
event.sender.send('error-get-unread-notification', err)
|
event.sender.send('error-get-unread-notification', err)
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
|
@ -57,6 +57,7 @@ const SideMenu = {
|
||||||
commit('changeUnreadNotifications', false)
|
commit('changeUnreadNotifications', false)
|
||||||
commit('changeUnreadLocalTimeline', false)
|
commit('changeUnreadLocalTimeline', false)
|
||||||
commit('changeUnreadDirectMessagesTimeline', false)
|
commit('changeUnreadDirectMessagesTimeline', false)
|
||||||
|
commit('changeUnreadPublicTimeline', false)
|
||||||
},
|
},
|
||||||
changeCollapse ({ commit }, value) {
|
changeCollapse ({ commit }, value) {
|
||||||
commit('changeCollapse', value)
|
commit('changeCollapse', value)
|
||||||
|
|
Loading…
Reference in New Issue