refactor<Statistics>: use committer instead of author

This commit is contained in:
leo 2024-02-25 11:32:15 +08:00
parent e070b79d2c
commit 68ddeb4cc5
7 changed files with 174 additions and 208 deletions

View file

@ -33,10 +33,10 @@ namespace SourceGit.Views {
set => SetValue(ShapeBrushProperty, value);
}
public static readonly StyledProperty<List<Models.Sample>> SamplesProperty =
AvaloniaProperty.Register<Chart, List<Models.Sample>>(nameof(Samples), null);
public static readonly StyledProperty<List<Models.StatisticsSample>> SamplesProperty =
AvaloniaProperty.Register<Chart, List<Models.StatisticsSample>>(nameof(Samples), null);
public List<Models.Sample> Samples {
public List<Models.StatisticsSample> Samples {
get => GetValue(SamplesProperty);
set => SetValue(SamplesProperty, value);
}