Refactor: Sort and remove usings.

This commit is contained in:
2017-05-19 18:16:16 +01:00
parent c8ef7538e6
commit 0b23650ad0
13 changed files with 52 additions and 32 deletions

View File

@@ -39,12 +39,12 @@ namespace osrepodbmgr.Eto.Desktop
{
Settings.LoadSettings();
Context.CheckUnar();
if(Core.Settings.Current.UseAntivirus)
if(Settings.Current.UseAntivirus)
{
if(Core.Settings.Current.UseClamd)
if(Settings.Current.UseClamd)
Workers.InitClamd();
if(Core.Settings.Current.UseVirusTotal)
Context.virusTotalEnabled = Workers.InitVirusTotal(Core.Settings.Current.VirusTotalKey);
if(Settings.Current.UseVirusTotal)
Context.virusTotalEnabled = Workers.InitVirusTotal(Settings.Current.VirusTotalKey);
}
Context.usableDotNetZip = !Platform.Detect.IsMac && !Platform.Detect.IsIos;