mirror of
https://fastgit.cc/github.com/sourcegit-scm/sourcegit
synced 2026-04-26 11:51:17 +08:00
refactor: add repository
This commit is contained in:
@@ -38,8 +38,7 @@ namespace SourceGit.ViewModels
|
||||
|
||||
CallUIThread(() =>
|
||||
{
|
||||
var normalizedPath = _targetPath.Replace("\\", "/");
|
||||
Preference.Instance.FindOrAddNodeByRepositoryPath(normalizedPath, _parentNode, true);
|
||||
Preference.Instance.FindOrAddNodeByRepositoryPath(_targetPath, _parentNode, true);
|
||||
Welcome.Instance.Refresh();
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user