Skip to content
This repository was archived by the owner on Jun 21, 2023. It is now read-only.

Commit f93886d

Browse files
committed
Merge pull request #205 from github/shana/fix-showing-clone-create-messages
Only process clone/create when the dialog is closed
2 parents 2f9a736 + 8bb526a commit f93886d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/GitHub.VisualStudio/TeamExplorer/Connect/GitHubConnectSection.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -324,11 +324,11 @@ void StartFlow(UIControllerFlow controllerFlow)
324324
var uiProvider = ServiceProvider.GetExportedValue<IUIProvider>();
325325
uiProvider.GitServiceProvider = ServiceProvider;
326326
var ret = uiProvider.SetupUI(controllerFlow, SectionConnection);
327-
ret.Subscribe(c =>
327+
ret.Subscribe(_ => {}, () =>
328328
{
329-
if (c.IsViewType(UIViewType.Clone))
329+
if (controllerFlow == UIControllerFlow.Clone)
330330
isCloning = true;
331-
else if (c.IsViewType(UIViewType.Create))
331+
else if (controllerFlow == UIControllerFlow.Create)
332332
isCreating = true;
333333
});
334334
uiProvider.RunUI();

0 commit comments

Comments
 (0)