diff --git a/src/Models/CommitSignInfo.cs b/src/Models/CommitSignInfo.cs index c6c30797..44b95e61 100644 --- a/src/Models/CommitSignInfo.cs +++ b/src/Models/CommitSignInfo.cs @@ -7,6 +7,7 @@ namespace SourceGit.Models public char VerifyResult { get; init; } = 'N'; public string Signer { get; init; } = string.Empty; public string Key { get; init; } = string.Empty; + public bool HasSigner => !string.IsNullOrEmpty(Signer); public IBrush Brush { diff --git a/src/Views/CommitBaseInfo.axaml b/src/Views/CommitBaseInfo.axaml index fd9969ac..62117480 100644 --- a/src/Views/CommitBaseInfo.axaml +++ b/src/Views/CommitBaseInfo.axaml @@ -85,14 +85,12 @@ - - - - - - - - + + + + + +