From 657e6ae7d3d7fdb9a1fbba3305b91308e076bee4 Mon Sep 17 00:00:00 2001 From: Jeremy Date: Tue, 20 Jan 2026 22:55:04 +1100 Subject: [PATCH] add null-safe comparison for glyph --- Flow.Launcher/Storage/QueryHistory.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Flow.Launcher/Storage/QueryHistory.cs b/Flow.Launcher/Storage/QueryHistory.cs index 093db0a58..26dead008 100644 --- a/Flow.Launcher/Storage/QueryHistory.cs +++ b/Flow.Launcher/Storage/QueryHistory.cs @@ -77,8 +77,8 @@ namespace Flow.Launcher.Storage if (existingHistoryItem.IcoPath != result.IcoPath) existingHistoryItem.IcoPath = result.IcoPath; - if (existingHistoryItem.Glyph.Glyph != result.Glyph.Glyph - || existingHistoryItem.Glyph.FontFamily != result.Glyph.FontFamily) + if (existingHistoryItem.Glyph?.Glyph != result.Glyph?.Glyph + || existingHistoryItem.Glyph?.FontFamily != result.Glyph?.FontFamily) existingHistoryItem.Glyph = result.Glyph; } else