1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-01-25 05:52:50 -05:00

notifications: add modal IPC command for dismissing all popups. rename clearAllPopups() to dismissAllPopups(), since clear is otherwise used to mean eliminated entirely rather than just sent to the notification center. (#1100)

This commit is contained in:
Ethan Todd
2025-12-20 08:13:26 -05:00
committed by GitHub
parent 5ffe563b7d
commit 8f7e732827
3 changed files with 12 additions and 3 deletions

View File

@@ -403,7 +403,7 @@ Singleton {
NotifWrapper {}
}
function clearAllPopups() {
function dismissAllPopups() {
for (const w of visibleNotifications) {
if (w) {
w.popup = false;