From e9eb4334710b5fee7ca09ef0c0adc379c6bc54b4 Mon Sep 17 00:00:00 2001 From: leo Date: Sun, 25 Aug 2024 11:20:10 +0800 Subject: [PATCH] ux: change default view mode in FileHistories to CHANGES --- src/ViewModels/FileHistories.cs | 4 ++-- src/Views/FileHistories.axaml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/ViewModels/FileHistories.cs b/src/ViewModels/FileHistories.cs index 5afd4302..e9672e26 100644 --- a/src/ViewModels/FileHistories.cs +++ b/src/ViewModels/FileHistories.cs @@ -93,9 +93,9 @@ namespace SourceGit.ViewModels } if (_viewMode == 0) - SetViewContentAsRevisionFile(); - else SetViewContentAsDiff(); + else + SetViewContentAsRevisionFile(); } private void SetViewContentAsRevisionFile() diff --git a/src/Views/FileHistories.axaml b/src/Views/FileHistories.axaml index a00737fb..3a2c6802 100644 --- a/src/Views/FileHistories.axaml +++ b/src/Views/FileHistories.axaml @@ -171,13 +171,13 @@ - + - +