code_style: remove all IDE warnings

This commit is contained in:
leo 2024-07-15 00:30:31 +08:00
parent 24ca3eaf8c
commit f4eca45754
No known key found for this signature in database
79 changed files with 1462 additions and 1378 deletions

View file

@ -32,11 +32,9 @@ namespace SourceGit.ViewModels
public Statistics(string repo)
{
_repo = repo;
Task.Run(() =>
{
var result = new Commands.Statistics(_repo).Result();
var result = new Commands.Statistics(repo).Result();
Dispatcher.UIThread.Invoke(() =>
{
_data = result;
@ -65,7 +63,6 @@ namespace SourceGit.ViewModels
}
}
private readonly string _repo = string.Empty;
private bool _isLoading = true;
private Models.Statistics _data = null;
private Models.StatisticsReport _selectedReport = null;