refactor(PopupManager): rewrite popup

This commit is contained in:
leo 2020-08-06 15:41:25 +08:00
parent 28e3a1bb27
commit 7558bbd4f2
34 changed files with 183 additions and 221 deletions

View file

@ -23,7 +23,7 @@ namespace SourceGit.UI {
/// <param name="job"></param>
public static void Show(Git.Repository repo, Action job) {
var dialog = new Waiting();
var popup = App.GetPopupManager(repo);
var popup = repo.GetPopupManager();
popup?.Show(dialog);
popup?.Lock();