From da81d0c6c8261de26696626338980e21f883b2f3 Mon Sep 17 00:00:00 2001 From: leo Date: Thu, 9 Jul 2020 17:39:16 +0800 Subject: [PATCH] Diff show loading tip --- SourceGit/UI/DiffViewer.xaml.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/SourceGit/UI/DiffViewer.xaml.cs b/SourceGit/UI/DiffViewer.xaml.cs index 4e6145a4..b54d40b1 100644 --- a/SourceGit/UI/DiffViewer.xaml.cs +++ b/SourceGit/UI/DiffViewer.xaml.cs @@ -39,6 +39,8 @@ namespace SourceGit.UI { /// public void Diff(Git.Repository repo, string options, string path, string orgPath = null) { SetTitle(path, orgPath); + + loading.Visibility = Visibility.Visible; Task.Run(() => { var args = $"{options} -- "; if (!string.IsNullOrEmpty(orgPath)) args += $"{orgPath} ";