code_style: rename platform_finder to platformFinder and run dotnet format to apply code style rules

This commit is contained in:
leo 2024-04-29 17:55:38 +08:00
parent 09b8564636
commit a5150edee0
6 changed files with 21 additions and 19 deletions

View file

@ -58,11 +58,11 @@ namespace SourceGit.ViewModels
Commands.Discard.All(_repo.FullPath);
}
}
SetProgressDescription("Checkout branch ...");
var rs = new Commands.Checkout(_repo.FullPath).Branch(Branch, SetProgressDescription);
if(needPopStash)
if (needPopStash)
{
SetProgressDescription("Re-apply local changes...");
rs = new Commands.Stash(_repo.FullPath).Apply("stash@{0}");
@ -71,7 +71,7 @@ namespace SourceGit.ViewModels
rs = new Commands.Stash(_repo.FullPath).Drop("stash@{0}");
}
}
CallUIThread(() => _repo.SetWatcherEnabled(true));
return rs;
});