From f5830412c4acd994b875c4ed3b6c185bc41621db Mon Sep 17 00:00:00 2001 From: Jack251970 <1160210343@qq.com> Date: Tue, 15 Apr 2025 20:45:00 +0800 Subject: [PATCH] Revert delegate to fields --- Flow.Launcher.Plugin/Result.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Flow.Launcher.Plugin/Result.cs b/Flow.Launcher.Plugin/Result.cs index f561fcb1d..f0fcd48ff 100644 --- a/Flow.Launcher.Plugin/Result.cs +++ b/Flow.Launcher.Plugin/Result.cs @@ -128,12 +128,12 @@ namespace Flow.Launcher.Plugin /// /// Delegate to load an icon for this result. /// - public IconDelegate Icon { get; set; } + public IconDelegate Icon = null; /// /// Delegate to load an icon for the badge of this result. /// - public IconDelegate BadgeIcon { get; set; } + public IconDelegate BadgeIcon = null; /// /// Information for Glyph Icon (Prioritized than IcoPath/Icon if user enable Glyph Icons)