diff --git a/Flow.Launcher.Core/ProgressBoxEx.xaml.cs b/Flow.Launcher.Core/ProgressBoxEx.xaml.cs index b6801d2c1..9a32f7303 100644 --- a/Flow.Launcher.Core/ProgressBoxEx.xaml.cs +++ b/Flow.Launcher.Core/ProgressBoxEx.xaml.cs @@ -17,7 +17,7 @@ namespace Flow.Launcher.Core InitializeComponent(); } - public static IProgressBoxEx Show(string caption, Action forceClosed) + public static IProgressBoxEx Show(string caption, Action forceClosed = null) { if (!Application.Current.Dispatcher.CheckAccess()) { diff --git a/Plugins/Flow.Launcher.Plugin.PluginsManager/PluginsManager.cs b/Plugins/Flow.Launcher.Plugin.PluginsManager/PluginsManager.cs index f7383ff2f..2ac4be93e 100644 --- a/Plugins/Flow.Launcher.Plugin.PluginsManager/PluginsManager.cs +++ b/Plugins/Flow.Launcher.Plugin.PluginsManager/PluginsManager.cs @@ -158,7 +158,7 @@ namespace Flow.Launcher.Plugin.PluginsManager var totalBytes = response.Content.Headers.ContentLength ?? -1L; var canReportProgress = totalBytes != -1; - if (canReportProgress && (prgBox = Context.API.ShowProgressBox("Download plugin...")) != null) + if (canReportProgress && (prgBox = Context.API.ShowProgressBox($"Download {plugin.Name}...")) != null) { await using var contentStream = await response.Content.ReadAsStreamAsync().ConfigureAwait(false); await using var fileStream = new FileStream(filePath, FileMode.Create, FileAccess.Write, FileShare.None, 8192, true);