mirror of
https://github.com/zoriya/noctalia-shell.git
synced 2026-05-31 01:36:50 +00:00
Merge pull request #425 from damian-ds7/notification-ipc-update-timestamp
update lastSeenTs in notifications toggleHistory ipc call
This commit is contained in:
@@ -61,7 +61,6 @@ NIconButton {
|
||||
onClicked: {
|
||||
var panel = PanelService.getPanel("notificationHistoryPanel")
|
||||
panel?.toggle(this)
|
||||
Settings.data.notifications.lastSeenTs = Time.timestamp * 1000
|
||||
}
|
||||
|
||||
onRightClicked: Settings.data.notifications.doNotDisturb = !Settings.data.notifications.doNotDisturb
|
||||
|
||||
@@ -16,6 +16,10 @@ NPanel {
|
||||
preferredHeight: 480
|
||||
panelKeyboardFocus: true
|
||||
|
||||
onOpened: function() {
|
||||
Settings.data.notifications.lastSeenTs = Time.timestamp * 1000
|
||||
}
|
||||
|
||||
panelContent: Rectangle {
|
||||
id: notificationRect
|
||||
color: Color.transparent
|
||||
|
||||
Reference in New Issue
Block a user