From 680f61636534dbbb7ff7ba6ddccc37404e74e087 Mon Sep 17 00:00:00 2001 From: Hongtao Zhang Date: Sat, 11 Dec 2021 12:28:26 -0600 Subject: [PATCH] Try resolving the first query slowness --- Flow.Launcher/ViewModel/ResultsViewModel.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Flow.Launcher/ViewModel/ResultsViewModel.cs b/Flow.Launcher/ViewModel/ResultsViewModel.cs index 01a19d871..70a38a8f4 100644 --- a/Flow.Launcher/ViewModel/ResultsViewModel.cs +++ b/Flow.Launcher/ViewModel/ResultsViewModel.cs @@ -290,7 +290,7 @@ namespace Flow.Launcher.ViewModel if (Count == 0 && newItems.Count == 0 || _token.IsCancellationRequested) return; - if (editTime < 10 || newItems.Count < 30) + if (newItems.Count < 100) { if (Count != 0) RemoveAll(newItems.Count); AddAll(newItems);