feature: allow to view contribution chart based on selected author (#1196)

Signed-off-by: leo <longshuang@msn.cn>
This commit is contained in:
leo 2025-04-15 16:08:38 +08:00
parent 90b37663ed
commit 33a463ce59
No known key found for this signature in database
3 changed files with 81 additions and 26 deletions

View file

@ -28,7 +28,11 @@ namespace SourceGit.ViewModels
public Models.StatisticsReport SelectedReport
{
get => _selectedReport;
private set => SetProperty(ref _selectedReport, value);
private set
{
value?.ChangeAuthor(null);
SetProperty(ref _selectedReport, value);
}
}
public uint SampleColor