download notification stuck fix
This commit is contained in:
@@ -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"));
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user