enhance: re-calculate the opened repositories in active workspace (#511)

This commit is contained in:
leo 2024-09-25 15:07:23 +08:00
parent 28c59ee0ab
commit acf71a30b8
No known key found for this signature in database
2 changed files with 36 additions and 10 deletions

View file

@ -51,12 +51,6 @@ namespace SourceGit.ViewModels
get => new SolidColorBrush(_color);
}
public void AddRepository(string repo)
{
if (!Repositories.Contains(repo))
Repositories.Add(repo);
}
private string _name = string.Empty;
private uint _color = 4278221015;
private bool _isActive = false;