diff --git a/Flow.Launcher.Plugin/Result.cs b/Flow.Launcher.Plugin/Result.cs index 136395467..f8c2c391f 100644 --- a/Flow.Launcher.Plugin/Result.cs +++ b/Flow.Launcher.Plugin/Result.cs @@ -201,7 +201,12 @@ namespace Flow.Launcher.Plugin /// /// Progress bar display. Providing an int value between 0-100 will trigger the progress bar to be displayed on the result /// - public int? ProgressBar { get; set; } + public int ProgressBarValue { get; set; } + + /// + /// Progress bar visibility Check + /// + public bool IsProgressBarVisible { get; set; } = false; /// /// Optionally set the color of the progress bar diff --git a/Flow.Launcher/ResultListBox.xaml b/Flow.Launcher/ResultListBox.xaml index 2c78f9bab..be8bdde41 100644 --- a/Flow.Launcher/ResultListBox.xaml +++ b/Flow.Launcher/ResultListBox.xaml @@ -115,7 +115,7 @@ x:Name="progressbarResult" Foreground="{Binding Result.ProgressBarColor}" Style="{DynamicResource ProgressBarResult}" - Value="{Binding Result.ProgressBar}" /> + Value="{Binding Result.ProgressBarValue}" /> + +