ux: show conflict short format in changes view

Signed-off-by: leo <longshuang@msn.cn>
This commit is contained in:
leo
2025-05-30 10:42:02 +08:00
parent e40ca4bbe0
commit 75015d550c
5 changed files with 64 additions and 62 deletions

View File

@@ -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;