mirror of
https://fastgit.cc/github.com/sourcegit-scm/sourcegit
synced 2026-04-24 02:40:24 +08:00
code_style: change static methods of ViewModels.Preference to member function
This commit is contained in:
@@ -31,7 +31,7 @@ namespace SourceGit.ViewModels
|
||||
CallUIThread(() =>
|
||||
{
|
||||
var normalizedPath = _targetPath.Replace("\\", "/");
|
||||
Preference.FindOrAddNodeByRepositoryPath(normalizedPath, _parentNode, true);
|
||||
Preference.Instance.FindOrAddNodeByRepositoryPath(normalizedPath, _parentNode, true);
|
||||
});
|
||||
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user