Skip to content

Commit 3ffa357

Browse files
committed
Update GitHelpers.cs
1 parent d85bb39 commit 3ffa357

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/Files.App/Utils/Git/GitHelpers.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -920,7 +920,11 @@ public static async Task CloneRepoAsync(string repoUrl, string repoName, string
920920
}, banner.CancellationToken);
921921

922922
if (!string.IsNullOrEmpty(errorMessage))
923+
{
924+
UIHelpers.CloseAllDialogs();
925+
await Task.Delay(500);
923926
await DynamicDialogFactory.ShowFor_CannotCloneRepo(errorMessage);
927+
}
924928

925929
StatusCenterViewModel.RemoveItem(banner);
926930

0 commit comments

Comments
 (0)