diff options
Diffstat (limited to 'services/Notifs.qml')
| -rw-r--r-- | services/Notifs.qml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/services/Notifs.qml b/services/Notifs.qml index 4dbabf4..2deba75 100644 --- a/services/Notifs.qml +++ b/services/Notifs.qml @@ -20,6 +20,13 @@ Singleton { property bool loaded + onDndChanged: { + if (dnd) + Toaster.toast(qsTr("Do not disturb enabled"), qsTr("Popup notifications are now disabled"), "do_not_disturb_on"); + else + Toaster.toast(qsTr("Do not disturb disabled"), qsTr("Popup notifications are now enabled"), "do_not_disturb_off"); + } + onListChanged: { if (loaded) saveTimer.restart(); |