more braces and whitespace style errors (#5951)

This commit is contained in:
Clint Rutkas
2020-08-14 09:22:12 -07:00
committed by GitHub
parent 9e8b0d2807
commit 913615f1c2
14 changed files with 80 additions and 68 deletions

View File

@@ -52,13 +52,17 @@ namespace Microsoft.Plugin.Program
var a = Task.Run(() =>
{
if (IsStartupIndexProgramsRequired || !_win32ProgramRepository.Any())
{
Stopwatch.Normal("|Microsoft.Plugin.Program.Main|Win32Program index cost", _win32ProgramRepository.IndexPrograms);
}
});
var b = Task.Run(() =>
{
if (IsStartupIndexProgramsRequired || !_packageRepository.Any())
{
Stopwatch.Normal("|Microsoft.Plugin.Program.Main|Win32Program index cost", _packageRepository.IndexPrograms);
}
});
Task.WaitAll(a, b);
@@ -92,7 +96,7 @@ namespace Microsoft.Plugin.Program
public void Init(PluginInitContext context)
{
_context = context ?? throw new ArgumentNullException(nameof(context)); ;
_context = context ?? throw new ArgumentNullException(nameof(context));
_context.API.ThemeChanged += OnThemeChanged;
UpdateUWPIconPath(_context.API.GetCurrentTheme());
}