diff --git a/Flow.Launcher.Core/Updater.cs b/Flow.Launcher.Core/Updater.cs index 86e2a5197..258a5951d 100644 --- a/Flow.Launcher.Core/Updater.cs +++ b/Flow.Launcher.Core/Updater.cs @@ -43,7 +43,6 @@ namespace Flow.Launcher.Core public async Task UpdateAppAsync(bool silentUpdate = true) { await UpdateLock.WaitAsync().ConfigureAwait(false); - try { if (!silentUpdate) @@ -144,7 +143,6 @@ namespace Flow.Launcher.Core { Proxy = Http.WebProxy }; - var downloader = new FileDownloader(client); var manager = new UpdateManager(latestUrl, urlDownloader: downloader); diff --git a/Flow.Launcher.Infrastructure/UserSettings/Settings.cs b/Flow.Launcher.Infrastructure/UserSettings/Settings.cs index a44570ccb..415ab7684 100644 --- a/Flow.Launcher.Infrastructure/UserSettings/Settings.cs +++ b/Flow.Launcher.Infrastructure/UserSettings/Settings.cs @@ -110,7 +110,7 @@ namespace Flow.Launcher.Infrastructure.UserSettings public double SettingWindowHeight { get; set; } = 700; public double? SettingWindowTop { get; set; } = null; public double? SettingWindowLeft { get; set; } = null; - public System.Windows.WindowState SettingWindowState { get; set; } = WindowState.Normal; + public WindowState SettingWindowState { get; set; } = WindowState.Normal; public bool PrereleaseUpdateSource { get; set; } diff --git a/Flow.Launcher/App.xaml.cs b/Flow.Launcher/App.xaml.cs index c862bfde4..058a00662 100644 --- a/Flow.Launcher/App.xaml.cs +++ b/Flow.Launcher/App.xaml.cs @@ -121,7 +121,7 @@ namespace Flow.Launcher RegisterAppDomainExceptions(); RegisterDispatcherUnhandledException(); - + var imageLoadertask = ImageLoader.InitializeAsync(); AbstractPluginEnvironment.PreStartPluginExecutablePathUpdate(_settings);