1
0
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:
Marcus Ramberg
2025-12-13 00:21:00 +01:00
committed by GitHub
parent d6043e64f2
commit 352277ec15

View File

@@ -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"
}