From 16404bc2a780430028e3515f19f02b2568f57b5e Mon Sep 17 00:00:00 2001 From: Jack251970 <1160210343@qq.com> Date: Mon, 5 May 2025 12:54:15 +0800 Subject: [PATCH] Improve log information --- Flow.Launcher/ViewModel/MainViewModel.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Flow.Launcher/ViewModel/MainViewModel.cs b/Flow.Launcher/ViewModel/MainViewModel.cs index dc35a6aa9..25c39ac7a 100644 --- a/Flow.Launcher/ViewModel/MainViewModel.cs +++ b/Flow.Launcher/ViewModel/MainViewModel.cs @@ -1547,13 +1547,13 @@ namespace Flow.Launcher.ViewModel // If last or current query is home query, we need to clear the results if (_lastIsHomeQuery || isHomeQuery) { + App.API.LogDebug(ClassName, $"Remove old results"); Results.Clear(); } // If last and current query are not home query, we need to check action keyword else if (_lastQuery?.ActionKeyword != query?.ActionKeyword) { App.API.LogDebug(ClassName, $"Remove old results"); - Results.Clear(); } }