mirror of
https://fastgit.cc/github.com/sourcegit-scm/sourcegit
synced 2026-05-01 06:15:41 +08:00
ux: show conflict short format in changes view
Signed-off-by: leo <longshuang@msn.cn>
This commit is contained in:
@@ -17,6 +17,16 @@ namespace SourceGit.ViewModels
|
||||
get => Change == null;
|
||||
}
|
||||
|
||||
public bool ShowConflictMarker
|
||||
{
|
||||
get => Change is { IsConflicted: true };
|
||||
}
|
||||
|
||||
public string ConflictMarker
|
||||
{
|
||||
get => Change?.ConflictMarker ?? string.Empty;
|
||||
}
|
||||
|
||||
public bool IsExpanded
|
||||
{
|
||||
get => _isExpanded;
|
||||
|
||||
Reference in New Issue
Block a user