add more notif icon

This commit is contained in:
end-4
2025-10-30 23:07:27 +01:00
parent 7887805550
commit b3f06049be
2 changed files with 3 additions and 2 deletions
@@ -26,8 +26,9 @@ function findSuitableMaterialSymbol(summary = "") {
'upsca': 'compare', 'upsca': 'compare',
'music': 'queue_music', 'music': 'queue_music',
'install': 'deployed_code_update', 'install': 'deployed_code_update',
'input': 'keyboard_alt',
'preedit': 'keyboard_alt',
'startswith:file': 'folder_copy', // Declarative startsWith check 'startswith:file': 'folder_copy', // Declarative startsWith check
}; };
const lowerSummary = summary.toLowerCase(); const lowerSummary = summary.toLowerCase();
@@ -238,7 +238,7 @@ Singleton {
if (notifServerIndex !== -1) { if (notifServerIndex !== -1) {
const notifServerNotif = notifServer.trackedNotifications.values[notifServerIndex]; const notifServerNotif = notifServer.trackedNotifications.values[notifServerIndex];
const action = notifServerNotif.actions.find((action) => action.identifier === notifIdentifier); const action = notifServerNotif.actions.find((action) => action.identifier === notifIdentifier);
console.log("Action found: " + JSON.stringify(action)); // console.log("Action found: " + JSON.stringify(action));
action.invoke() action.invoke()
} }
else { else {