download notification stuck fix, more x and y offset positions

This commit is contained in:
choco
2025-11-10 10:59:42 +01:00
parent b5bdededae
commit 8692e877cf
4 changed files with 23 additions and 28 deletions

View File

@@ -86,6 +86,12 @@ public class LightlessNotificationUi : WindowMediatorSubscriberBase
existing.Progress = updated.Progress;
existing.ShowProgress = updated.ShowProgress;
existing.Title = updated.Title;
if (updated.Type == NotificationType.Download && updated.Progress < 1.0f)
{
existing.CreatedAt = DateTime.UtcNow;
}
_logger.LogDebug("Updated existing notification: {Title}", updated.Title);
}