refactor: remove unnecessary memebers

This commit is contained in:
leo 2024-07-24 14:32:27 +08:00
parent ad3eeabb83
commit f8caeceade
No known key found for this signature in database
5 changed files with 36 additions and 44 deletions

View file

@ -302,6 +302,11 @@ namespace SourceGit
});
}
public static ViewModels.Launcher GetLauncer()
{
return Current is App app ? app._launcher : null;
}
public static ViewModels.Repository FindOpenedRepository(string repoPath)
{
if (Current is App app && app._launcher != null)