fix: try to fix issue #338

* use custom control to draw badges
This commit is contained in:
leo
2024-08-13 18:24:28 +08:00
parent f3406e93fc
commit 59a7c74fd1
5 changed files with 214 additions and 37 deletions

View File

@@ -36,11 +36,6 @@ namespace SourceGit.ViewModels
get => Backend is Models.Branch;
}
public string TrackStatus
{
get => Backend is Models.Branch { IsLocal: true } branch ? branch.TrackStatus.ToString() : string.Empty;
}
public FontWeight NameFontWeight
{
get => Backend is Models.Branch { IsCurrent: true } ? FontWeight.Bold : FontWeight.Regular;