refactor: add a popup panel to show submodule updating status

This commit is contained in:
leo 2024-06-04 11:36:00 +08:00
parent 069c78f213
commit d0edc09b2e
8 changed files with 71 additions and 9 deletions

View file

@ -769,6 +769,12 @@ namespace SourceGit.ViewModels
PopupHost.ShowPopup(new AddSubmodule(this));
}
public void UpdateSubmodules()
{
if (PopupHost.CanCreatePopup())
PopupHost.ShowAndStartPopup(new UpdateSubmodules(this));
}
public ContextMenu CreateContextMenuForGitFlow()
{
var menu = new ContextMenu();