Merge pull request #4167 from Heck-R/dev

Fix: Result.Preview.Description Does not Display in Preview Panel
This commit is contained in:
VictoriousRaptor 2025-12-19 20:33:22 +08:00 committed by GitHub
commit f95d41e093
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 1 deletions

View file

@ -526,7 +526,7 @@
<TextBlock
x:Name="PreviewSubTitle"
Style="{DynamicResource PreviewItemSubTitleStyle}"
Text="{Binding Result.SubTitle}" />
Text="{Binding PreviewDescription}" />
</StackPanel>
</Grid>
</Border>

View file

@ -288,6 +288,8 @@ namespace Flow.Launcher.ViewModel
}
}
public string PreviewDescription => Result.Preview?.Description ?? Result.SubTitle;
public Result Result { get; }
public int ResultProgress
{