mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-01-24 13:32:50 -05:00
notifications: add ipc call for toggleDoNotDisturb (#1002)
This commit is contained in:
@@ -98,6 +98,12 @@ DankModal {
|
||||
return "NOTIFICATION_MODAL_TOGGLE_SUCCESS";
|
||||
}
|
||||
|
||||
function toggleDoNotDisturb(): string {
|
||||
SessionData.setDoNotDisturb(!SessionData.doNotDisturb)
|
||||
|
||||
return "NOTIFICATION_MODAL_TOGGLE_DND_SUCCESS";
|
||||
}
|
||||
|
||||
target: "notifications"
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user