mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Default values for preview info
This commit is contained in:
parent
96f52314ef
commit
0c4f50a89f
1 changed files with 6 additions and 6 deletions
|
|
@ -240,19 +240,19 @@ namespace Flow.Launcher.Plugin
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Full image used for preview panel
|
/// Full image used for preview panel
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public string PreviewImagePath { get; set; }
|
public string PreviewImagePath { get; set; } = null;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Determines if the preview image should occupy the full width of the preview panel.
|
/// Determines if the preview image should occupy the full width of the preview panel.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public bool IsMedia { get; set; }
|
public bool IsMedia { get; set; } = false;
|
||||||
public string Description { get; set; }
|
public string Description { get; set; } = null;
|
||||||
public IconDelegate PreviewDelegate { get; set; }
|
public IconDelegate PreviewDelegate { get; set; } = null;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// File path of the result. For third-party preview programs such as QuickLook.
|
/// File path of the result. For third-party preview programs such as QuickLook.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public string FilePath { get; set; }
|
public string FilePath { get; set; } = null;
|
||||||
|
|
||||||
public static PreviewInfo Default { get; } = new()
|
public static PreviewInfo Default { get; } = new()
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue