diff --git a/Flow.Launcher.Plugin/Result.cs b/Flow.Launcher.Plugin/Result.cs
index 78fa31974..1682c4d79 100644
--- a/Flow.Launcher.Plugin/Result.cs
+++ b/Flow.Launcher.Plugin/Result.cs
@@ -1,4 +1,4 @@
-using System;
+using System;
using System.Collections.Generic;
using System.IO;
using System.Threading.Tasks;
@@ -167,7 +167,7 @@ namespace Flow.Launcher.Plugin
///
/// Information for Glyph Icon (Prioritized than IcoPath/Icon if user enable Glyph Icons)
///
- public GlyphInfo Glyph { get; init; }
+ public GlyphInfo Glyph { get; set; }
///
/// An action to take in the form of a function call when the result has been selected.
diff --git a/Flow.Launcher/Storage/QueryHistory.cs b/Flow.Launcher/Storage/QueryHistory.cs
index 91dee90df..093db0a58 100644
--- a/Flow.Launcher/Storage/QueryHistory.cs
+++ b/Flow.Launcher/Storage/QueryHistory.cs
@@ -4,6 +4,7 @@ using System.Linq;
using System.Text.Json.Serialization;
using Flow.Launcher.Core.Plugin;
using Flow.Launcher.Plugin;
+using Svg;
namespace Flow.Launcher.Storage
{
@@ -72,10 +73,13 @@ namespace Flow.Launcher.Storage
TryGetLastOpenedHistoryResult(result, out var existingHistoryItem))
{
existingHistoryItem.ExecutedDateTime = DateTime.Now;
+
if (existingHistoryItem.IcoPath != result.IcoPath)
- {
existingHistoryItem.IcoPath = result.IcoPath;
- }
+
+ if (existingHistoryItem.Glyph.Glyph != result.Glyph.Glyph
+ || existingHistoryItem.Glyph.FontFamily != result.Glyph.FontFamily)
+ existingHistoryItem.Glyph = result.Glyph;
}
else
{