Add Audio Settings, split NotificationHistory
This commit is contained in:
parent
0babca7b56
commit
faa6bcd222
10 changed files with 555 additions and 209 deletions
|
|
@ -27,6 +27,13 @@ QtObject {
|
|||
// Signal when notification is received
|
||||
onNotification: function (notification) {
|
||||
|
||||
// Check if notifications are suppressed
|
||||
if (Settings.data.notifications && Settings.data.notifications.suppressed) {
|
||||
// Still add to history but don't show notification
|
||||
root.addToHistory(notification)
|
||||
return
|
||||
}
|
||||
|
||||
// Track the notification
|
||||
notification.tracked = true
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue