refactor: using count for better performance

This commit is contained in:
01Dri 2025-10-11 03:47:04 -03:00
parent 690d33ece3
commit a1f82e1652

View file

@ -50,7 +50,7 @@ namespace Flow.Launcher.Storage
QueryAction = HistoryHelper.GetQueryAction(item.Query)
});
}
if (Items.Any()) Items.Clear();
if (Items.Count > 0) Items.Clear();
}