download notification stuck fix

This commit is contained in:
choco
2025-10-21 09:59:30 +02:00
parent f48698373b
commit a32ac02c6d

View File

@@ -608,7 +608,7 @@ public class NotificationService : DisposableMediatorSubscriberBase, IHostedServ
Mediator.Publish(new LightlessNotificationMessage(notification)); Mediator.Publish(new LightlessNotificationMessage(notification));
if (AreAllDownloadsCompleted(userDownloads)) if (userDownloads.Count == 0 || AreAllDownloadsCompleted(userDownloads))
{ {
Mediator.Publish(new LightlessNotificationDismissMessage("pair_download_progress")); Mediator.Publish(new LightlessNotificationDismissMessage("pair_download_progress"));
} }