From a1f82e1652a0a867291e8e70d75cac8ecf19cc0d Mon Sep 17 00:00:00 2001 From: 01Dri Date: Sat, 11 Oct 2025 03:47:04 -0300 Subject: [PATCH] refactor: using count for better performance --- Flow.Launcher/Storage/History.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Flow.Launcher/Storage/History.cs b/Flow.Launcher/Storage/History.cs index a11222db8..b0fd2a4c9 100644 --- a/Flow.Launcher/Storage/History.cs +++ b/Flow.Launcher/Storage/History.cs @@ -50,7 +50,7 @@ namespace Flow.Launcher.Storage QueryAction = HistoryHelper.GetQueryAction(item.Query) }); } - if (Items.Any()) Items.Clear(); + if (Items.Count > 0) Items.Clear(); }