Updating unread badge count from server.

This commit is contained in:
Burak Kaan Köse
2024-09-12 00:02:14 +02:00
parent 02e99066ca
commit 9bee5e449f

View File

@@ -64,6 +64,12 @@ namespace Wino.Server.MessageHandlers
var isSynchronizationSucceeded = synchronizationResult.CompletedState == SynchronizationCompletedState.Success;
// Update badge count of the notification task.
if (isSynchronizationSucceeded)
{
await _notificationBuilder.UpdateTaskbarIconBadgeAsync();
}
if (shouldReportSynchronizationResult)
{
var completedMessage = new AccountSynchronizationCompleted(message.Options.AccountId,