style<Welcome>: use monospace font for repository tree

This commit is contained in:
leo 2024-02-18 16:32:30 +08:00
parent 05c9d9be5b
commit 5ac7d78796
2 changed files with 4 additions and 1 deletions

View file

@ -138,6 +138,7 @@ namespace SourceGit.ViewModels {
public async void StageChanges(List<Models.Change> changes) {
if (_unstaged.Count == 0 || changes.Count == 0) return;
SetDetail(null, true);
IsStaging = true;
_repo.SetWatcherEnabled(false);
if (changes.Count == _unstaged.Count) {
@ -157,6 +158,7 @@ namespace SourceGit.ViewModels {
public async void UnstageChanges(List<Models.Change> changes) {
if (_staged.Count == 0 || changes.Count == 0) return;
SetDetail(null, false);
IsUnstaging = true;
_repo.SetWatcherEnabled(false);
if (changes.Count == _staged.Count) {