Allow disabling badge update per-account. (#472)

This commit is contained in:
Burak Kaan Köse
2024-11-09 20:37:38 +01:00
committed by GitHub
parent b49e1b3a97
commit 90e291ac8a
5 changed files with 45 additions and 6 deletions

View File

@@ -166,6 +166,8 @@ namespace Wino.Core.UWP.Services
foreach (var account in accounts)
{
if (!account.Preferences.IsTaskbarBadgeEnabled) continue;
var accountInbox = await _folderService.GetSpecialFolderByAccountIdAsync(account.Id, SpecialFolderType.Inbox);
if (accountInbox == null)