diff --git a/Flow.Launcher.Plugin/Result.cs b/Flow.Launcher.Plugin/Result.cs index da5b3c774..f618645c4 100644 --- a/Flow.Launcher.Plugin/Result.cs +++ b/Flow.Launcher.Plugin/Result.cs @@ -240,19 +240,19 @@ namespace Flow.Launcher.Plugin /// /// Full image used for preview panel /// - public string PreviewImagePath { get; set; } - + public string PreviewImagePath { get; set; } = null; + /// /// Determines if the preview image should occupy the full width of the preview panel. /// - public bool IsMedia { get; set; } - public string Description { get; set; } - public IconDelegate PreviewDelegate { get; set; } + public bool IsMedia { get; set; } = false; + public string Description { get; set; } = null; + public IconDelegate PreviewDelegate { get; set; } = null; /// /// File path of the result. For third-party preview programs such as QuickLook. /// - public string FilePath { get; set; } + public string FilePath { get; set; } = null; public static PreviewInfo Default { get; } = new() {