Merge branch 'main' of github.com:noctalia-dev/noctalia-shell

This commit is contained in:
Lemmy
2026-01-23 11:05:26 -05:00
+2 -2
View File
@@ -140,7 +140,7 @@ Singleton {
// Check if we should save to history based on urgency // Check if we should save to history based on urgency
const saveToHistorySettings = Settings.data.notifications?.saveToHistory; const saveToHistorySettings = Settings.data.notifications?.saveToHistory;
if (saveToHistorySettings) { if (saveToHistorySettings && !notification.transient) {
let shouldSave = true; let shouldSave = true;
switch (data.urgency) { switch (data.urgency) {
case 0: // low case 0: // low
@@ -156,7 +156,7 @@ Singleton {
if (shouldSave) { if (shouldSave) {
addToHistory(data); addToHistory(data);
} }
} else { } else if (!notification.transient) {
// Default behavior: save all if settings not configured // Default behavior: save all if settings not configured
addToHistory(data); addToHistory(data);
} }