feature: add a toggle button to change the commit time display mode to time period it is passed from now (#259)

This commit is contained in:
leo 2024-07-16 11:15:41 +08:00
parent 9b21269844
commit 1eb77a5e49
No known key found for this signature in database
5 changed files with 167 additions and 8 deletions

View file

@ -159,6 +159,12 @@ namespace SourceGit.ViewModels
set => SetProperty(ref _useTwoColumnsLayoutInHistories, value);
}
public bool DisplayTimeAsPeriodInHistories
{
get => _displayTimeAsPeriodInHistories;
set => SetProperty(ref _displayTimeAsPeriodInHistories, value);
}
public bool UseSideBySideDiff
{
get => _useSideBySideDiff;
@ -494,6 +500,7 @@ namespace SourceGit.ViewModels
private bool _check4UpdatesOnStartup = true;
private bool _useTwoColumnsLayoutInHistories = false;
private bool _displayTimeAsPeriodInHistories = false;
private bool _useSideBySideDiff = false;
private bool _useSyntaxHighlighting = false;
private bool _enableDiffViewWordWrap = false;