Fix focus-other toggle for Live accounts.

This commit is contained in:
Burak Kaan Köse
2024-12-22 00:59:59 +01:00
parent 8390a868ba
commit da2a58a88b
3 changed files with 14 additions and 7 deletions

View File

@@ -578,5 +578,11 @@ namespace Wino.Services
return aliases.FirstOrDefault(a => a.IsPrimary) ?? aliases.First();
}
public async Task<bool> IsAccountFocusedEnabledAsync(Guid accountId)
{
var account = await GetAccountAsync(accountId);
return account.Preferences.IsFocusedInboxEnabled.GetValueOrDefault();
}
}
}