feature: show track status in Delete Multiple Branches panel (#785)

This commit is contained in:
leo 2024-12-04 19:14:48 +08:00
parent 1ddd348a40
commit 75e9f1e9a4
No known key found for this signature in database
4 changed files with 18 additions and 10 deletions

View file

@ -7,6 +7,8 @@ namespace SourceGit.Models
public List<string> Ahead { get; set; } = new List<string>();
public List<string> Behind { get; set; } = new List<string>();
public bool IsVisible => Ahead.Count > 0 || Behind.Count > 0;
public override string ToString()
{
if (Ahead.Count == 0 && Behind.Count == 0)