code_style: general cleanup (#1428)

This commit is contained in:
Nathan Baulch 2025-06-18 11:29:18 +10:00 committed by GitHub
parent ae46728bbc
commit d404f6dbe2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
48 changed files with 123 additions and 240 deletions

View file

@ -11,7 +11,7 @@ namespace SourceGit.ViewModels
{
public class Welcome : ObservableObject
{
public static Welcome Instance => _instance;
public static Welcome Instance { get; } = new();
public AvaloniaList<RepositoryNode> Rows
{
@ -354,7 +354,6 @@ namespace SourceGit.ViewModels
}
}
private static Welcome _instance = new Welcome();
private string _searchFilter = string.Empty;
}
}