update legacy item to show Query style title

This commit is contained in:
Jeremy 2026-01-04 19:54:16 +11:00
parent 4174b5e1e4
commit 94ebbab68a

View file

@ -28,8 +28,7 @@ namespace Flow.Launcher.Storage
{
LastOpenedHistoryItems.Add(new LastOpenedHistoryResult
{
// Title will be updated properly later on when results are re-constructed for display.
Title = $"Legacy history item query: {item.Query}",
Title = Localize.executeQuery(item.Query),
IcoPath = Constant.HistoryIcon,
OriginQuery = new Query { TrimmedQuery = item.Query },
Glyph = new GlyphInfo(FontFamily: "/Resources/#Segoe Fluent Icons", Glyph: "\uE81C"),