code_style: remove unused namespace using and run dotnet format

This commit is contained in:
leo 2024-08-28 13:42:25 +08:00
parent 4bcdd0ade4
commit 3ea80d99f1
No known key found for this signature in database
9 changed files with 10 additions and 11 deletions

View file

@ -302,7 +302,7 @@ namespace SourceGit.ViewModels
e.Handled = true;
};
menu.Items.Add(reset);
var squash = new MenuItem();
squash.Header = App.Text("CommitCM.SquashCommitsSinceThis");
squash.Icon = App.CreateMenuIcon("Icons.SquashIntoParent");
@ -314,7 +314,7 @@ namespace SourceGit.ViewModels
App.RaiseException(_repo.FullPath, "You have local changes. Please run stash or discard first.");
return;
}
if (PopupHost.CanCreatePopup())
PopupHost.ShowPopup(new Squash(_repo, commit, commit.SHA));