Blur the token in GUI when the control is out of focus

This commit is contained in:
Tyrrrz
2023-05-29 19:01:49 +03:00
parent 3319b4734d
commit d779ed9bc8
2 changed files with 24 additions and 1 deletions

View File

@@ -38,6 +38,8 @@ public class DashboardViewModel : PropertyChangedBase
public string? Token { get; set; }
public bool IsTokenSet => !string.IsNullOrWhiteSpace(Token);
private IReadOnlyDictionary<Guild, IReadOnlyList<Channel>>? ChannelsByGuild { get; set; }
public IReadOnlyList<Guild>? AvailableGuilds => ChannelsByGuild?.Keys.ToArray();