code_style: simplify static commands used by styles and main menu; run dotnet format

This commit is contained in:
leo
2024-09-02 20:27:12 +08:00
parent e27d2d6a3f
commit 998230edff
10 changed files with 35 additions and 52 deletions

View File

@@ -27,10 +27,11 @@ namespace SourceGit.ViewModels
public MoveRepositoryNode(RepositoryNode target)
{
Target = target;
Rows.Add(new RepositoryNode() {
Name = "ROOT",
Depth = 0,
Id = Guid.NewGuid().ToString()
Rows.Add(new RepositoryNode()
{
Name = "ROOT",
Depth = 0,
Id = Guid.NewGuid().ToString()
});
MakeRows(Preference.Instance.RepositoryNodes, 1);