remove duplicate history item sort call

This commit is contained in:
Jeremy 2025-10-21 22:18:29 +11:00
parent 25aa5bf2af
commit 0f269455b1

View file

@ -1326,7 +1326,7 @@ namespace Flow.Launcher.ViewModel
.Select(g => g.First());
}
foreach (var item in historyItems.OrderByDescending(h => h.ExecutedDateTime))
foreach (var item in historyItems)
{
Result result = null;
var glyph = item.Glyph is null && !string.IsNullOrEmpty(item.IcoPath) // Some plugins won't have Glyph, then prefer IcoPath