Skip to content

fix: remove non-functional PreviewDelegate field from PreviewInfo - #49

Open
Garulf wants to merge 1 commit into
mainfrom
fix/remove-nonfunctional-preview-delegate
Open

Garulf wants to merge 1 commit into
mainfrom
fix/remove-nonfunctional-preview-delegate

Conversation

@Garulf

@Garulf Garulf commented Sep 16, 2026

Copy link
Copy Markdown
Owner

PreviewInfo had a PreviewDeligate field (typo for Delegate). Flow Launcher's Result.Preview.PreviewDelegate is a C# function delegate (IconDelegate, a delegate returning ImageSource), not a string, so it was never usable from a JSON-RPC plugin process regardless of spelling: delegates aren't JSON-serializable.

Removed the field instead of just fixing the typo, since renaming it would not have made it functional.

Flow Launcher's Result.Preview.PreviewDelegate is a C# function
delegate (IconDelegate), not a string, so it was never usable from a
JSON-RPC plugin process regardless of how the field was spelled.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant