From 4bc3367e3fc05a16d8a4ae028efeae8552f663d8 Mon Sep 17 00:00:00 2001 From: DB p Date: Tue, 6 Sep 2022 23:59:33 +0900 Subject: [PATCH] - Add 'Free Space in drive' - when Type "d:\", showing graph with free space. --- Flow.Launcher.Plugin/Result.cs | 2 + Flow.Launcher/ResultListBox.xaml | 9 +-- Flow.Launcher/Themes/Base.xaml | 15 ++++ .../Search/ResultManager.cs | 70 ++++++++++++++++--- 4 files changed, 82 insertions(+), 14 deletions(-) diff --git a/Flow.Launcher.Plugin/Result.cs b/Flow.Launcher.Plugin/Result.cs index 35c491d35..f3f3d2816 100644 --- a/Flow.Launcher.Plugin/Result.cs +++ b/Flow.Launcher.Plugin/Result.cs @@ -197,5 +197,7 @@ namespace Flow.Launcher.Plugin { return AsyncAction?.Invoke(context) ?? ValueTask.FromResult(Action?.Invoke(context) ?? false); } + + public int? ProgressBar { get; set; } } } diff --git a/Flow.Launcher/ResultListBox.xaml b/Flow.Launcher/ResultListBox.xaml index 2a7f9c494..4c1b068f8 100644 --- a/Flow.Launcher/ResultListBox.xaml +++ b/Flow.Launcher/ResultListBox.xaml @@ -111,7 +111,10 @@ - + - - + ToolTip="{Binding ShowSubTitleToolTip}" /> diff --git a/Flow.Launcher/Themes/Base.xaml b/Flow.Launcher/Themes/Base.xaml index 087606d04..dbd5b31c1 100644 --- a/Flow.Launcher/Themes/Base.xaml +++ b/Flow.Launcher/Themes/Base.xaml @@ -81,6 +81,21 @@ + +