mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-06-07 20:04:59 +00:00
refactor: build tags view data in viewmodels instead of views
Signed-off-by: leo <longshuang@msn.cn>
This commit is contained in:
parent
f46bbd01cd
commit
fd935259aa
7 changed files with 151 additions and 172 deletions
|
@ -178,9 +178,9 @@ namespace SourceGit.ViewModels
|
|||
|
||||
public bool ShowTagsAsTree
|
||||
{
|
||||
get => _showTagsAsTree;
|
||||
set => SetProperty(ref _showTagsAsTree, value);
|
||||
}
|
||||
get;
|
||||
set;
|
||||
} = false;
|
||||
|
||||
public bool ShowTagsInGraph
|
||||
{
|
||||
|
@ -677,7 +677,6 @@ namespace SourceGit.ViewModels
|
|||
private double _lastCheckUpdateTime = 0;
|
||||
private string _ignoreUpdateTag = string.Empty;
|
||||
|
||||
private bool _showTagsAsTree = false;
|
||||
private bool _showTagsInGraph = true;
|
||||
private bool _useTwoColumnsLayoutInHistories = false;
|
||||
private bool _displayTimeAsPeriodInHistories = false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue