mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-22 04:34:59 +00:00
enhance: add tooltips to various UI elements for better accessibility (#1097)
* enhance: add tooltips to various UI elements for better accessibility * refactor: simplify user string conversion
This commit is contained in:
parent
a46e52582f
commit
66517fd4bf
5 changed files with 26 additions and 7 deletions
|
@ -43,6 +43,11 @@ namespace SourceGit.Models
|
|||
return _caches.GetOrAdd(data, key => new User(key));
|
||||
}
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
return $"{Name} <{Email}>";
|
||||
}
|
||||
|
||||
private static ConcurrentDictionary<string, User> _caches = new ConcurrentDictionary<string, User>();
|
||||
private readonly int _hash;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue